Home
last modified time | relevance | path

Searched refs:RCC_CR_SYSDIV (Results 1 – 8 of 8) sorted by relevance

/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_rcc.c694 #if defined(RCC_CR_SYSDIV) in HAL_RCC_ClockConfig()
695 MODIFY_REG(RCC->CR, RCC_CR_SYSDIV, RCC_ClkInitStruct->SYSCLKDivider); in HAL_RCC_ClockConfig()
938 #if defined(RCC_CR_SYSDIV) in HAL_RCC_GetSysClockFreq()
939 uint32_t sysclockdiv = (uint32_t)(((RCC->CR & RCC_CR_SYSDIV) >> RCC_CR_SYSDIV_Pos) + 1U); in HAL_RCC_GetSysClockFreq()
976 #if defined(RCC_CR_SYSDIV) in HAL_RCC_GetSysClockFreq()
1088 #if defined(RCC_CR_SYSDIV) in HAL_RCC_GetClockConfig()
1090 RCC_ClkInitStruct->SYSCLKDivider = (uint32_t)(RCC->CR & RCC_CR_SYSDIV); in HAL_RCC_GetClockConfig()
Dstm32c0xx_ll_rcc.c458 #if defined(RCC_CR_SYSDIV) in RCC_GetSystemClockFreq()
459 uint32_t sysdiv = (uint32_t)(((RCC->CR & RCC_CR_SYSDIV) >> RCC_CR_SYSDIV_Pos) + 1U); in RCC_GetSystemClockFreq()
493 #if defined(RCC_CR_SYSDIV) in RCC_GetSystemClockFreq()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_rcc.h232 #if defined(RCC_CR_SYSDIV)
1138 #if defined(RCC_CR_SYSDIV)
1155 MODIFY_REG(RCC->CR, RCC_CR_SYSDIV, Divider); in LL_RCC_SetSYSDivider()
1235 #if defined(RCC_CR_SYSDIV)
1251 return (uint32_t)(READ_BIT(RCC->CR, RCC_CR_SYSDIV)); in LL_RCC_GetSYSDivider()
Dstm32c0xx_hal_rcc.h127 #if defined(RCC_CR_SYSDIV)
433 #if defined(RCC_CR_SYSDIV)
/hal_stm32-latest/stm32cube/stm32c0xx/soc/
Dsystem_stm32c0xx.c195 #if defined(RCC_CR_SYSDIV) in SystemCoreClockUpdate()
196 sysdiv = (uint32_t)(((RCC->CR & RCC_CR_SYSDIV) >> RCC_CR_SYSDIV_Pos) + 1U); in SystemCoreClockUpdate()
Dstm32c011xx.h3802 #define RCC_CR_SYSDIV RCC_CR_SYSDIV_Msk /*!< Clock division … macro
Dstm32c031xx.h3956 #define RCC_CR_SYSDIV RCC_CR_SYSDIV_Msk /*!< Clock division … macro
Dstm32c071xx.h4360 #define RCC_CR_SYSDIV RCC_CR_SYSDIV_Msk /*!< Clock division … macro