Home
last modified time | relevance | path

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

123456789

/hal_stm32-latest/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.h3189 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
3191 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
3570 __STATIC_INLINE void LL_RCC_SetCECClockSource(uint32_t Source) in LL_RCC_SetCECClockSource() argument
3572 MODIFY_REG(RCC->DCKCFGR2, RCC_DCKCFGR2_CECSEL, Source); in LL_RCC_SetCECClockSource()
3595 __STATIC_INLINE void LL_RCC_SetI2SClockSource(uint32_t Source) in LL_RCC_SetI2SClockSource() argument
3598 MODIFY_REG(RCC->CFGR, RCC_CFGR_I2SSRC, Source); in LL_RCC_SetI2SClockSource()
3600 MODIFY_REG(RCC->DCKCFGR, (Source & 0xFFFF0000U), (Source << 16U)); in LL_RCC_SetI2SClockSource()
3613 __STATIC_INLINE void LL_RCC_SetDSIClockSource(uint32_t Source) in LL_RCC_SetDSIClockSource() argument
3615 MODIFY_REG(RCC->DCKCFGR, RCC_DCKCFGR_DSISEL, Source); in LL_RCC_SetDSIClockSource()
3633 __STATIC_INLINE void LL_RCC_SetDFSDMAudioClockSource(uint32_t Source) in LL_RCC_SetDFSDMAudioClockSource() argument
[all …]
/hal_stm32-latest/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-latest/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-latest/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-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_rcc.h1652 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
1654 MODIFY_REG(RCC->BDCR, RCC_BDCR_LSCOSEL, Source); in LL_RCC_LSCO_SetSource()
1688 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1690 MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, Source); in LL_RCC_SetSysClkSource()
2429 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
2431 MODIFY_REG(RCC->BDCR, RCC_BDCR_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
2570 __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
2573 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLR); in LL_RCC_PLL_ConfigDomain_SYS()
2635 __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
2638 Source | PLLM | (PLLN << RCC_PLLCFGR_PLLN_Pos) | PLLP); in LL_RCC_PLL_ConfigDomain_ADC()
[all …]
/hal_stm32-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/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-latest/stm32cube/stm32n6xx/drivers/include/
Dstm32n6xx_ll_rcc.h2305 __STATIC_INLINE void LL_RCC_SetCpuClkSource(uint32_t Source) in LL_RCC_SetCpuClkSource() argument
2307 MODIFY_REG(RCC->CFGR1, RCC_CFGR1_CPUSW, Source); in LL_RCC_SetCpuClkSource()
2334 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
2336 MODIFY_REG(RCC->CFGR1, RCC_CFGR1_SYSSW, Source); in LL_RCC_SetSysClkSource()
2361 __STATIC_INLINE void LL_RCC_SetSysWakeUpClkSource(uint32_t Source) in LL_RCC_SetSysWakeUpClkSource() argument
2363 MODIFY_REG(RCC->CFGR1, RCC_CFGR1_STOPWUCK, Source); in LL_RCC_SetSysWakeUpClkSource()
4693 __STATIC_INLINE void LL_RCC_SetRTCClockSource(uint32_t Source) in LL_RCC_SetRTCClockSource() argument
4695 MODIFY_REG(RCC->CCIPR7, RCC_CCIPR7_RTCSEL, Source); in LL_RCC_SetRTCClockSource()
6394 __STATIC_INLINE void LL_RCC_IC1_SetSource(uint32_t Source) in LL_RCC_IC1_SetSource() argument
6396 MODIFY_REG(RCC->IC1CFGR, RCC_IC1CFGR_IC1SEL, Source); in LL_RCC_IC1_SetSource()
[all …]
/hal_stm32-latest/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-latest/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-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_rcc.h833 __STATIC_INLINE void LL_RCC_LSCO_SetSource(uint32_t Source) in LL_RCC_LSCO_SetSource() argument
835 MODIFY_REG(RCC->CFGR, RCC_CFGR_CLKSLOWSEL, Source); in LL_RCC_LSCO_SetSource()
1097 __STATIC_INLINE void LL_RCC_SetSysClkSource(uint32_t Source) in LL_RCC_SetSysClkSource() argument
1099 if (Source == LL_RCC_SYS_HSI) in LL_RCC_SetSysClkSource()
1103 if (Source == LL_RCC_SYS_HSE) in LL_RCC_SetSysClkSource()
1135 __STATIC_INLINE void LL_RCC_SetRFClock(uint32_t Source) in LL_RCC_SetRFClock() argument
1137 MODIFY_REG(RCC->APB2ENR, RCC_APB2ENR_CLKBLEDIV, Source); in LL_RCC_SetRFClock()
1214 __STATIC_INLINE void LL_RCC_SetLPUARTClockSource(uint32_t Source) in LL_RCC_SetLPUARTClockSource() argument
1216 MODIFY_REG(RCC->CFGR, RCC_CFGR_LPUCLKSEL, Source); in LL_RCC_SetLPUARTClockSource()
1409 __STATIC_INLINE void LL_RCC_SetSPI2I2SClockSource(uint32_t Source) in LL_RCC_SetSPI2I2SClockSource() argument
[all …]
/hal_stm32-latest/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-latest/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-latest/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-latest/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 …]

123456789