mikroSDK Reference Manual
|
Macros | |
#define | __HAL_RCC_HSE_PREDIV_CONFIG(__HSE_PREDIV_VALUE__) MODIFY_REG(RCC->CFGR,RCC_CFGR_PLLXTPRE, (uint32_t)(__HSE_PREDIV_VALUE__)) |
Macro to configure the External High Speed oscillator (HSE) Predivision factor for PLL. | |
#define | __HAL_RCC_HSE_GET_PREDIV() READ_BIT(RCC->CFGR, RCC_CFGR_PLLXTPRE) |
Macro to get prediv1 factor for PLL. | |
#define __HAL_RCC_HSE_PREDIV_CONFIG | ( | __HSE_PREDIV_VALUE__ | ) | MODIFY_REG(RCC->CFGR,RCC_CFGR_PLLXTPRE, (uint32_t)(__HSE_PREDIV_VALUE__)) |
__HSE_PREDIV_VALUE__ | specifies the division value applied to HSE. This parameter must be a number between RCC_HSE_PREDIV_DIV1 and RCC_HSE_PREDIV_DIV2. |