My Project
|
Macros | |
#define | __HAL_RCC_HSI_ENABLE() (*(__IO uint32_t *) RCC_CR_HSION_BB = ENABLE) |
Macros to enable or disable the Internal High Speed oscillator (HSI). | |
#define | __HAL_RCC_HSI_DISABLE() (*(__IO uint32_t *) RCC_CR_HSION_BB = DISABLE) |
#define | __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(_HSICALIBRATIONVALUE_) (MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, (uint32_t)(_HSICALIBRATIONVALUE_) << POSITION_VAL(RCC_CR_HSITRIM))) |
Macro to adjust the Internal High Speed oscillator (HSI) calibration value. | |
#define __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST | ( | _HSICALIBRATIONVALUE_ | ) | (MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, (uint32_t)(_HSICALIBRATIONVALUE_) << POSITION_VAL(RCC_CR_HSITRIM))) |
Macro to adjust the Internal High Speed oscillator (HSI) calibration value.
_HSICALIBRATIONVALUE_ | specifies the calibration trimming value. (default is RCC_HSICALIBRATION_DEFAULT). This parameter must be a number between 0 and 0x1F. |
#define __HAL_RCC_HSI_DISABLE | ( | ) | (*(__IO uint32_t *) RCC_CR_HSION_BB = DISABLE) |
#define __HAL_RCC_HSI_ENABLE | ( | ) | (*(__IO uint32_t *) RCC_CR_HSION_BB = ENABLE) |
Macros to enable or disable the Internal High Speed oscillator (HSI).