STM32L443xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_CRS_EnableFreqErrorCounter (void) |
Enable Frequency error counter. | |
__STATIC_INLINE void | LL_CRS_DisableFreqErrorCounter (void) |
Disable Frequency error counter. | |
__STATIC_INLINE uint32_t | LL_CRS_IsEnabledFreqErrorCounter (void) |
Check if Frequency error counter is enabled or not. | |
__STATIC_INLINE void | LL_CRS_EnableAutoTrimming (void) |
Enable Automatic trimming counter. | |
__STATIC_INLINE void | LL_CRS_DisableAutoTrimming (void) |
Disable Automatic trimming counter. | |
__STATIC_INLINE uint32_t | LL_CRS_IsEnabledAutoTrimming (void) |
Check if Automatic trimming is enabled or not. | |
__STATIC_INLINE void | LL_CRS_SetHSI48SmoothTrimming (uint32_t Value) |
Set HSI48 oscillator smooth trimming. | |
__STATIC_INLINE uint32_t | LL_CRS_GetHSI48SmoothTrimming (void) |
Get HSI48 oscillator smooth trimming. | |
__STATIC_INLINE void | LL_CRS_SetReloadCounter (uint32_t Value) |
Set counter reload value. | |
__STATIC_INLINE uint32_t | LL_CRS_GetReloadCounter (void) |
Get counter reload value. | |
__STATIC_INLINE void | LL_CRS_SetFreqErrorLimit (uint32_t Value) |
Set frequency error limit. | |
__STATIC_INLINE uint32_t | LL_CRS_GetFreqErrorLimit (void) |
Get frequency error limit. | |
__STATIC_INLINE void | LL_CRS_SetSyncDivider (uint32_t Divider) |
Set division factor for SYNC signal. | |
__STATIC_INLINE uint32_t | LL_CRS_GetSyncDivider (void) |
Get division factor for SYNC signal. | |
__STATIC_INLINE void | LL_CRS_SetSyncSignalSource (uint32_t Source) |
Set SYNC signal source. | |
__STATIC_INLINE uint32_t | LL_CRS_GetSyncSignalSource (void) |
Get SYNC signal source. | |
__STATIC_INLINE void | LL_CRS_SetSyncPolarity (uint32_t Polarity) |
Set input polarity for the SYNC signal source. | |
__STATIC_INLINE uint32_t | LL_CRS_GetSyncPolarity (void) |
Get input polarity for the SYNC signal source. | |
__STATIC_INLINE void | LL_CRS_ConfigSynchronization (uint32_t HSI48CalibrationValue, uint32_t ErrorLimitValue, uint32_t ReloadValue, uint32_t Settings) |
Configure CRS for the synchronization. |
__STATIC_INLINE void LL_CRS_ConfigSynchronization | ( | uint32_t | HSI48CalibrationValue, |
uint32_t | ErrorLimitValue, | ||
uint32_t | ReloadValue, | ||
uint32_t | Settings | ||
) |
Configure CRS for the synchronization.
HSI48CalibrationValue | a number between Min_Data = 0 and Max_Data = 127 for STM32L412xx/L422xx or 63 otherwise |
ErrorLimitValue | a number between Min_Data = 0 and Max_Data = 0xFFFF |
ReloadValue | a number between Min_Data = 0 and Max_Data = 255 |
Settings | This parameter can be a combination of the following values:
|
None |
Definition at line 455 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_DisableAutoTrimming | ( | void | ) |
Disable Automatic trimming counter.
None |
Definition at line 265 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_DisableFreqErrorCounter | ( | void | ) |
Disable Frequency error counter.
None |
Definition at line 235 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_EnableAutoTrimming | ( | void | ) |
Enable Automatic trimming counter.
None |
Definition at line 255 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_EnableFreqErrorCounter | ( | void | ) |
Enable Frequency error counter.
None |
Definition at line 225 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetFreqErrorLimit | ( | void | ) |
Get frequency error limit.
A | number between Min_Data = 0 and Max_Data = 255 |
Definition at line 343 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetHSI48SmoothTrimming | ( | void | ) |
Get HSI48 oscillator smooth trimming.
a | number between Min_Data = 0 and Max_Data = 127 for STM32L412xx/L422xx or 63 otherwise |
Definition at line 298 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetReloadCounter | ( | void | ) |
Get counter reload value.
a | number between Min_Data = 0 and Max_Data = 0xFFFF |
Definition at line 321 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetSyncDivider | ( | void | ) |
Get division factor for SYNC signal.
Returned | value can be one of the following values: |
Definition at line 380 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetSyncPolarity | ( | void | ) |
Get input polarity for the SYNC signal source.
Returned | value can be one of the following values: |
Definition at line 432 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_GetSyncSignalSource | ( | void | ) |
Get SYNC signal source.
Returned | value can be one of the following values: |
Definition at line 407 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_IsEnabledAutoTrimming | ( | void | ) |
Check if Automatic trimming is enabled or not.
State | of bit (1 or 0). |
Definition at line 275 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE uint32_t LL_CRS_IsEnabledFreqErrorCounter | ( | void | ) |
Check if Frequency error counter is enabled or not.
State | of bit (1 or 0). |
Definition at line 245 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetFreqErrorLimit | ( | uint32_t | Value | ) |
Set frequency error limit.
Value | a number between Min_Data = 0 and Max_Data = 255 |
None |
Definition at line 333 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetHSI48SmoothTrimming | ( | uint32_t | Value | ) |
Set HSI48 oscillator smooth trimming.
Value | a number between Min_Data = 0 and Max_Data = 127 for STM32L412xx/L422xx or 63 otherwise |
None |
Definition at line 288 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetReloadCounter | ( | uint32_t | Value | ) |
Set counter reload value.
Value | a number between Min_Data = 0 and Max_Data = 0xFFFF |
None |
Definition at line 311 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetSyncDivider | ( | uint32_t | Divider | ) |
Set division factor for SYNC signal.
Divider | This parameter can be one of the following values: |
None |
Definition at line 362 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetSyncPolarity | ( | uint32_t | Polarity | ) |
Set input polarity for the SYNC signal source.
Polarity | This parameter can be one of the following values: |
None |
Definition at line 420 of file stm32l4xx_ll_crs.h.
__STATIC_INLINE void LL_CRS_SetSyncSignalSource | ( | uint32_t | Source | ) |
Set SYNC signal source.
Source | This parameter can be one of the following values: |
None |
Definition at line 394 of file stm32l4xx_ll_crs.h.