|
STM32L4xx_HAL_Driver
1.14.0
|
Functions | |
| __STATIC_INLINE void | LL_CRS_EnableFreqErrorCounter (void) |
| Enable Frequency error counter. More... | |
| __STATIC_INLINE void | LL_CRS_DisableFreqErrorCounter (void) |
| Disable Frequency error counter CR CEN LL_CRS_DisableFreqErrorCounter. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_IsEnabledFreqErrorCounter (void) |
| Check if Frequency error counter is enabled or not CR CEN LL_CRS_IsEnabledFreqErrorCounter. More... | |
| __STATIC_INLINE void | LL_CRS_EnableAutoTrimming (void) |
| Enable Automatic trimming counter CR AUTOTRIMEN LL_CRS_EnableAutoTrimming. More... | |
| __STATIC_INLINE void | LL_CRS_DisableAutoTrimming (void) |
| Disable Automatic trimming counter CR AUTOTRIMEN LL_CRS_DisableAutoTrimming. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_IsEnabledAutoTrimming (void) |
| Check if Automatic trimming is enabled or not CR AUTOTRIMEN LL_CRS_IsEnabledAutoTrimming. More... | |
| __STATIC_INLINE void | LL_CRS_SetHSI48SmoothTrimming (uint32_t Value) |
| Set HSI48 oscillator smooth trimming. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetHSI48SmoothTrimming (void) |
| Get HSI48 oscillator smooth trimming CR TRIM LL_CRS_GetHSI48SmoothTrimming. More... | |
| __STATIC_INLINE void | LL_CRS_SetReloadCounter (uint32_t Value) |
| Set counter reload value CFGR RELOAD LL_CRS_SetReloadCounter. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetReloadCounter (void) |
| Get counter reload value CFGR RELOAD LL_CRS_GetReloadCounter. More... | |
| __STATIC_INLINE void | LL_CRS_SetFreqErrorLimit (uint32_t Value) |
| Set frequency error limit CFGR FELIM LL_CRS_SetFreqErrorLimit. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetFreqErrorLimit (void) |
| Get frequency error limit CFGR FELIM LL_CRS_GetFreqErrorLimit. More... | |
| __STATIC_INLINE void | LL_CRS_SetSyncDivider (uint32_t Divider) |
| Set division factor for SYNC signal CFGR SYNCDIV LL_CRS_SetSyncDivider. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetSyncDivider (void) |
| Get division factor for SYNC signal CFGR SYNCDIV LL_CRS_GetSyncDivider. More... | |
| __STATIC_INLINE void | LL_CRS_SetSyncSignalSource (uint32_t Source) |
| Set SYNC signal source CFGR SYNCSRC LL_CRS_SetSyncSignalSource. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetSyncSignalSource (void) |
| Get SYNC signal source CFGR SYNCSRC LL_CRS_GetSyncSignalSource. More... | |
| __STATIC_INLINE void | LL_CRS_SetSyncPolarity (uint32_t Polarity) |
| Set input polarity for the SYNC signal source CFGR SYNCPOL LL_CRS_SetSyncPolarity. More... | |
| __STATIC_INLINE uint32_t | LL_CRS_GetSyncPolarity (void) |
| Get input polarity for the SYNC signal source CFGR SYNCPOL LL_CRS_GetSyncPolarity. More... | |
| __STATIC_INLINE void | LL_CRS_ConfigSynchronization (uint32_t HSI48CalibrationValue, uint32_t ErrorLimitValue, uint32_t ReloadValue, uint32_t Settings) |
| Configure CRS for the synchronization CR TRIM LL_CRS_ConfigSynchronization CFGR RELOAD LL_CRS_ConfigSynchronization CFGR FELIM LL_CRS_ConfigSynchronization CFGR SYNCDIV LL_CRS_ConfigSynchronization CFGR SYNCSRC LL_CRS_ConfigSynchronization CFGR SYNCPOL LL_CRS_ConfigSynchronization. More... | |
| __STATIC_INLINE void LL_CRS_ConfigSynchronization | ( | uint32_t | HSI48CalibrationValue, |
| uint32_t | ErrorLimitValue, | ||
| uint32_t | ReloadValue, | ||
| uint32_t | Settings | ||
| ) |
Configure CRS for the synchronization CR TRIM LL_CRS_ConfigSynchronization
CFGR RELOAD LL_CRS_ConfigSynchronization
CFGR FELIM LL_CRS_ConfigSynchronization
CFGR SYNCDIV LL_CRS_ConfigSynchronization
CFGR SYNCSRC LL_CRS_ConfigSynchronization
CFGR SYNCPOL LL_CRS_ConfigSynchronization.
| HSI48CalibrationValue | a number between Min_Data = 0 and Max_Data = 63 |
| 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 456 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_DisableAutoTrimming | ( | void | ) |
Disable Automatic trimming counter CR AUTOTRIMEN LL_CRS_DisableAutoTrimming.
| None |
Definition at line 266 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_DisableFreqErrorCounter | ( | void | ) |
Disable Frequency error counter CR CEN LL_CRS_DisableFreqErrorCounter.
| None |
Definition at line 236 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_EnableAutoTrimming | ( | void | ) |
Enable Automatic trimming counter CR AUTOTRIMEN LL_CRS_EnableAutoTrimming.
| None |
Definition at line 256 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_EnableFreqErrorCounter | ( | void | ) |
Enable Frequency error counter.
| None |
Definition at line 226 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetFreqErrorLimit | ( | void | ) |
Get frequency error limit CFGR FELIM LL_CRS_GetFreqErrorLimit.
| A | number between Min_Data = 0 and Max_Data = 255 |
Definition at line 344 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetHSI48SmoothTrimming | ( | void | ) |
Get HSI48 oscillator smooth trimming CR TRIM LL_CRS_GetHSI48SmoothTrimming.
| a | number between Min_Data = 0 and Max_Data = 127 for STM32L412xx/L422xx or 63 otherwise |
Definition at line 299 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetReloadCounter | ( | void | ) |
Get counter reload value CFGR RELOAD LL_CRS_GetReloadCounter.
| a | number between Min_Data = 0 and Max_Data = 0xFFFF |
Definition at line 322 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetSyncDivider | ( | void | ) |
Get division factor for SYNC signal CFGR SYNCDIV LL_CRS_GetSyncDivider.
| Returned | value can be one of the following values:
|
Definition at line 381 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetSyncPolarity | ( | void | ) |
Get input polarity for the SYNC signal source CFGR SYNCPOL LL_CRS_GetSyncPolarity.
| Returned | value can be one of the following values:
|
Definition at line 433 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_GetSyncSignalSource | ( | void | ) |
Get SYNC signal source CFGR SYNCSRC LL_CRS_GetSyncSignalSource.
| Returned | value can be one of the following values:
|
Definition at line 408 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_IsEnabledAutoTrimming | ( | void | ) |
Check if Automatic trimming is enabled or not CR AUTOTRIMEN LL_CRS_IsEnabledAutoTrimming.
| State | of bit (1 or 0). |
Definition at line 276 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE uint32_t LL_CRS_IsEnabledFreqErrorCounter | ( | void | ) |
Check if Frequency error counter is enabled or not CR CEN LL_CRS_IsEnabledFreqErrorCounter.
| State | of bit (1 or 0). |
Definition at line 246 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_SetFreqErrorLimit | ( | uint32_t | Value | ) |
Set frequency error limit CFGR FELIM LL_CRS_SetFreqErrorLimit.
| Value | a number between Min_Data = 0 and Max_Data = 255 |
| None |
Definition at line 334 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 289 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_SetReloadCounter | ( | uint32_t | Value | ) |
Set counter reload value CFGR RELOAD LL_CRS_SetReloadCounter.
| Value | a number between Min_Data = 0 and Max_Data = 0xFFFF |
| None |
Definition at line 312 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_SetSyncDivider | ( | uint32_t | Divider | ) |
Set division factor for SYNC signal CFGR SYNCDIV LL_CRS_SetSyncDivider.
| Divider | This parameter can be one of the following values:
|
| None |
Definition at line 363 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_SetSyncPolarity | ( | uint32_t | Polarity | ) |
Set input polarity for the SYNC signal source CFGR SYNCPOL LL_CRS_SetSyncPolarity.
| Polarity | This parameter can be one of the following values:
|
| None |
Definition at line 421 of file stm32l4xx_ll_crs.h.
| __STATIC_INLINE void LL_CRS_SetSyncSignalSource | ( | uint32_t | Source | ) |
Set SYNC signal source CFGR SYNCSRC LL_CRS_SetSyncSignalSource.
| Source | This parameter can be one of the following values:
|
| None |
Definition at line 395 of file stm32l4xx_ll_crs.h.