Home
last modified time | relevance | path

Searched refs:Source (Results 1 – 25 of 173) sorted by relevance

1234567

/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_ll_system.h804 __STATIC_INLINE void LL_SYSCFG_DFSDM_SetDataIn0Source(uint32_t Source) in LL_SYSCFG_DFSDM_SetDataIn0Source() argument
806 MODIFY_REG(SYSCFG->MCHDLYCR, (Source >> 16), (Source & 0x0000FFFF)); in LL_SYSCFG_DFSDM_SetDataIn0Source()
821 __STATIC_INLINE uint32_t LL_SYSCFG_DFSDM_GetDataIn0Source(uint32_t Source) in LL_SYSCFG_DFSDM_GetDataIn0Source() argument
823 return (uint32_t)(READ_BIT(SYSCFG->MCHDLYCR, Source)); in LL_SYSCFG_DFSDM_GetDataIn0Source()
835 __STATIC_INLINE void LL_SYSCFG_DFSDM_SetDataIn2Source(uint32_t Source) in LL_SYSCFG_DFSDM_SetDataIn2Source() argument
837 MODIFY_REG(SYSCFG->MCHDLYCR, (Source >> 16), (Source & 0x0000FFFF)); in LL_SYSCFG_DFSDM_SetDataIn2Source()
852 __STATIC_INLINE uint32_t LL_SYSCFG_DFSDM_GetDataIn2Source(uint32_t Source) in LL_SYSCFG_DFSDM_GetDataIn2Source() argument
854 return (uint32_t)(READ_BIT(SYSCFG->MCHDLYCR, Source)); in LL_SYSCFG_DFSDM_GetDataIn2Source()
865 __STATIC_INLINE void LL_SYSCFG_DFSDM1_SetTIM4OC2BitStreamDistribution(uint32_t Source) in LL_SYSCFG_DFSDM1_SetTIM4OC2BitStreamDistribution() argument
867 MODIFY_REG(SYSCFG->MCHDLYCR, SYSCFG_MCHDLYCR_DFSDM1CK02SEL, Source); in LL_SYSCFG_DFSDM1_SetTIM4OC2BitStreamDistribution()
[all …]
Dstm32f4xx_ll_rcc.h3188 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
3190 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
3569 __STATIC_INLINE void LL_RCC_SetCECClockSource(uint32_t Source) in LL_RCC_SetCECClockSource() argument
3571 MODIFY_REG(RCC->DCKCFGR2, RCC_DCKCFGR2_CECSEL, Source); in LL_RCC_SetCECClockSource()
3594 __STATIC_INLINE void LL_RCC_SetI2SClockSource(uint32_t Source) in LL_RCC_SetI2SClockSource() argument
3597 MODIFY_REG(RCC->CFGR, RCC_CFGR_I2SSRC, Source); in LL_RCC_SetI2SClockSource()
3599 MODIFY_REG(RCC->DCKCFGR, (Source & 0xFFFF0000U), (Source << 16U)); in LL_RCC_SetI2SClockSource()
3612 __STATIC_INLINE void LL_RCC_SetDSIClockSource(uint32_t Source) in LL_RCC_SetDSIClockSource() argument
3614 MODIFY_REG(RCC->DCKCFGR, RCC_DCKCFGR_DSISEL, Source); in LL_RCC_SetDSIClockSource()
3632 __STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource(uint32_t Source) in LL_RCC_SetDFSDMAudioClockSource() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_rcc.h2705 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
2707 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
2740 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2742 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
3185 __STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource(uint32_t Source) in LL_RCC_SetDFSDMAudioClockSource() argument
3187 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_ADFSDM1SEL, Source); in LL_RCC_SetDFSDMAudioClockSource()
3222 __STATIC_INLINE void LL_RCC_SetDSIClockSource(uint32_t Source) in LL_RCC_SetDSIClockSource() argument
3224 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_DSISEL, Source); in LL_RCC_SetDSIClockSource()
3239 __STATIC_INLINE void LL_RCC_SetLTDCClockSource(uint32_t Source) in LL_RCC_SetLTDCClockSource() argument
3241 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_PLLSAI2DIVR, Source); in LL_RCC_SetLTDCClockSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_rcc.h2122 __STATIC_INLINE void LL_RCC_SetMSIPLLMode(uint32_t Source) in LL_RCC_SetMSIPLLMode() argument
2124 MODIFY_REG(RCC->CR, RCC_CR_MSIPLLSEL, Source); in LL_RCC_SetMSIPLLMode()
2515 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
2517 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
2550 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2552 MODIFY_REG(RCC->CFGR1, RCC_CFGR1_SW, Source); in LL_RCC_SetSysClkSource()
3109 __STATIC_INLINE void LL_RCC_SetUSBPHYClockSource(uint32_t Source) in LL_RCC_SetUSBPHYClockSource() argument
3111 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_USBPHYCSEL, Source); in LL_RCC_SetUSBPHYClockSource()
3155 __STATIC_INLINE void LL_RCC_SetDAC1ClockSource(uint32_t Source) in LL_RCC_SetDAC1ClockSource() argument
3157 MODIFY_REG(RCC->CCIPR3, RCC_CCIPR3_DAC1SEL, Source); in LL_RCC_SetDAC1ClockSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_ll_rcc.h2214 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2216 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
2573 __STATIC_INLINE void LL_RCC_SetCECClockSource(uint32_t Source) in LL_RCC_SetCECClockSource() argument
2575 MODIFY_REG(RCC->DCKCFGR2, RCC_DCKCFGR2_CECSEL, Source); in LL_RCC_SetCECClockSource()
2587 __STATIC_INLINE void LL_RCC_SetI2SClockSource(uint32_t Source) in LL_RCC_SetI2SClockSource() argument
2589 MODIFY_REG(RCC->CFGR, RCC_CFGR_I2SSRC, Source); in LL_RCC_SetI2SClockSource()
2601 __STATIC_INLINE void LL_RCC_SetDSIClockSource(uint32_t Source) in LL_RCC_SetDSIClockSource() argument
2603 MODIFY_REG(RCC->DCKCFGR2, RCC_DCKCFGR2_DSISEL, Source); in LL_RCC_SetDSIClockSource()
2616 __STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource(uint32_t Source) in LL_RCC_SetDFSDMAudioClockSource() argument
2618 MODIFY_REG(RCC->DCKCFGR1, RCC_DCKCFGR1_ADFSDM1SEL, Source); in LL_RCC_SetDFSDMAudioClockSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_rcc.h1648 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
1650 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
1684 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1686 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
2425 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
2427 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
2566 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_SYS() argument
2569 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLR); in LL_RCC_PLL_ConfigDomain_SYS()
2631 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_ADC(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_ADC() argument
2634 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLP); in LL_RCC_PLL_ConfigDomain_ADC()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_lptim.c236 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
238 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
244 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
245 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
282 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
287 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
297 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
306 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
313 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
321 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_lptim.c236 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
238 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
244 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
245 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
282 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
287 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
297 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
306 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
313 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
321 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_lptim.c257 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
259 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
265 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
266 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
303 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
308 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
318 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
327 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
334 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
342 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_hal_lptim.c233 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
235 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
241 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
242 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
279 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
284 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
294 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
303 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
310 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
318 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_lptim.c254 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
256 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
262 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
263 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
300 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
305 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
315 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
324 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
331 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
339 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_lptim.c236 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
238 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
244 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
245 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
282 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
287 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
297 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
306 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
313 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
321 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_hal_lptim.c233 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
235 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
241 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
242 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
279 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
284 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
294 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
303 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
310 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
318 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_lptim.c233 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
235 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
241 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
242 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
279 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
284 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
294 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
303 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
310 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
318 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_lptim.c254 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
256 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
262 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
263 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
329 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
334 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
344 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
353 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
360 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
368 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_lptim.c252 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
254 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
260 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
261 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
323 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
328 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
338 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
347 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
354 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
362 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_lptim.c252 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
254 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
260 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
261 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
323 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
328 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
338 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
347 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
354 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
362 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_rcc.h2117 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
2119 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
2152 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2154 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
2567 __STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource(uint32_t Source) in LL_RCC_SetDFSDMAudioClockSource() argument
2569 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_ADFSDMSEL, Source); in LL_RCC_SetDFSDMAudioClockSource()
2594 __STATIC_INLINE void LL_RCC_SetOCTOSPIClockSource(uint32_t Source) in LL_RCC_SetOCTOSPIClockSource() argument
2596 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_OSPISEL, Source); in LL_RCC_SetOCTOSPIClockSource()
2902 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
2904 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_rcc.h2023 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
2025 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
2058 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2060 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
2101 __STATIC_INLINE void LL_RCC_SetRFWKPClockSource(uint32_t Source) in LL_RCC_SetRFWKPClockSource() argument
2103 MODIFY_REG(RCC->CSR, RCC_CSR_RFWKPSEL, Source); in LL_RCC_SetRFWKPClockSource()
2859 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
2861 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
2999 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_SYS() argument
3002 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLR); in LL_RCC_PLL_ConfigDomain_SYS()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_lptim.c250 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
252 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
258 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
259 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
327 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
332 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
342 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
350 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
357 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
365 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_lptim.c250 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
252 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
258 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
259 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
327 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
332 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
342 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
350 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
357 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
365 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_lptim.c250 assert_param(IS_LPTIM_CLOCK_SOURCE(hlptim->Init.Clock.Source)); in HAL_LPTIM_Init()
252 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
258 assert_param(IS_LPTIM_TRG_SOURCE(hlptim->Init.Trigger.Source)); in HAL_LPTIM_Init()
259 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
327 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
332 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
342 tmpcfgr |= (hlptim->Init.Clock.Source | in HAL_LPTIM_Init()
350 if (hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC) in HAL_LPTIM_Init()
357 if ((hlptim->Init.Clock.Source == LPTIM_CLOCKSOURCE_ULPTIM) in HAL_LPTIM_Init()
365 if (hlptim->Init.Trigger.Source != LPTIM_TRIGSOURCE_SOFTWARE) in HAL_LPTIM_Init()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_rcc.h1306 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
1308 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
1340 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1342 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
1709 __STATIC_INLINE void LL_RCC_SetQUADSPIClockSource(uint32_t Source) in LL_RCC_SetQUADSPIClockSource() argument
1711 MODIFY_REG(RCC->CCIPR2, RCC_CCIPR2_QSPISEL, Source); in LL_RCC_SetQUADSPIClockSource()
1970 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
1972 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
2117 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_SYS() argument
2120 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLR); in LL_RCC_PLL_ConfigDomain_SYS()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_rcc.h1008 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1010 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
1184 __STATIC_INLINE void LL_RCC_SetI2SClockSource(uint32_t Source) in LL_RCC_SetI2SClockSource() argument
1186 MODIFY_REG(RCC->CFGR, RCC_CFGR_I2SSRC, Source); in LL_RCC_SetI2SClockSource()
1224 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
1226 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
1498 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_SYS() argument
1501 Source | PLLM | PLLN << RCC_PLLCFGR_PLLN_Pos | PLLP); in LL_RCC_PLL_ConfigDomain_SYS()
1598 __STATIC_INLINE void LL_RCC_PLL_ConfigDomain_48M(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uin… in LL_RCC_PLL_ConfigDomain_48M() argument
1601 Source | PLLM | PLLN << RCC_PLLCFGR_PLLN_Pos | PLLQ); in LL_RCC_PLL_ConfigDomain_48M()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_rcc.h1398 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
1400 MODIFY_REG(RCC->BDCR1, RCC_BDCR1_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
1432 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1434 MODIFY_REG(RCC->CFGR1, RCC_CFGR1_SW, Source); in LL_RCC_SetSysClkSource()
1736 __STATIC_INLINE void LL_RCC_RADIO_SetSleepTimerClockSource(uint32_t Source) in LL_RCC_RADIO_SetSleepTimerClockSource() argument
1738 MODIFY_REG(RCC->BDCR1, RCC_BDCR1_RADIOSTSEL, Source); in LL_RCC_RADIO_SetSleepTimerClockSource()
2147 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
2149 MODIFY_REG(RCC->BDCR1, RCC_BDCR1_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
2297 __STATIC_INLINE void LL_RCC_PLL1_ConfigDomain_PLL1R(uint32_t Source, uint32_t PLLM, uint32_t PLLN, … in LL_RCC_PLL1_ConfigDomain_PLL1R() argument
2299 …MODIFY_REG(RCC->PLL1CFGR, RCC_PLL1CFGR_PLL1SRC | RCC_PLL1CFGR_PLL1M, Source | ((PLLM - 1UL) << RCC… in LL_RCC_PLL1_ConfigDomain_PLL1R()
[all …]

1234567