RTEMS 6.1-rc4
|
Macros | |
#define | __HAL_RCC_CRS_FREQ_ERROR_COUNTER_ENABLE() SET_BIT(CRS->CR, CRS_CR_CEN) |
Enable the oscillator clock for frequency error counter. | |
#define | __HAL_RCC_CRS_FREQ_ERROR_COUNTER_DISABLE() CLEAR_BIT(CRS->CR, CRS_CR_CEN) |
Disable the oscillator clock for frequency error counter. | |
#define | __HAL_RCC_CRS_AUTOMATIC_CALIB_ENABLE() SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) |
Enable the automatic hardware adjustment of TRIM bits. | |
#define | __HAL_RCC_CRS_AUTOMATIC_CALIB_DISABLE() CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) |
Enable or disable the automatic hardware adjustment of TRIM bits. | |
#define | __HAL_RCC_CRS_RELOADVALUE_CALCULATE(__FTARGET__, __FSYNC__) (((__FTARGET__) / (__FSYNC__)) - 1U) |
Macro to calculate reload value to be set in CRS register according to target and sync frequencies. | |
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_DISABLE | ( | ) | CLEAR_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) |
Enable or disable the automatic hardware adjustment of TRIM bits.
None |
#define __HAL_RCC_CRS_AUTOMATIC_CALIB_ENABLE | ( | ) | SET_BIT(CRS->CR, CRS_CR_AUTOTRIMEN) |
Enable the automatic hardware adjustment of TRIM bits.
None |
#define __HAL_RCC_CRS_FREQ_ERROR_COUNTER_DISABLE | ( | ) | CLEAR_BIT(CRS->CR, CRS_CR_CEN) |
Disable the oscillator clock for frequency error counter.
None |
#define __HAL_RCC_CRS_FREQ_ERROR_COUNTER_ENABLE | ( | ) | SET_BIT(CRS->CR, CRS_CR_CEN) |
Enable the oscillator clock for frequency error counter.
None |
#define __HAL_RCC_CRS_RELOADVALUE_CALCULATE | ( | __FTARGET__, | |
__FSYNC__ | |||
) | (((__FTARGET__) / (__FSYNC__)) - 1U) |
Macro to calculate reload value to be set in CRS register according to target and sync frequencies.
__FTARGET__ | Target frequency (value in Hz) |
__FSYNC__ | Synchronization signal frequency (value in Hz) |
None |