STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_RTC_CAL_SetOutputFreq (RTC_TypeDef *RTCx, uint32_t Frequency) |
Set Calibration output frequency (1 Hz or 512 Hz) More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetOutputFreq (RTC_TypeDef *RTCx) |
Get Calibration output frequency (1 Hz or 512 Hz) @rmtoll CR COE LL_RTC_CAL_GetOutputFreq CR COSEL LL_RTC_CAL_GetOutputFreq. More... | |
__STATIC_INLINE void | LL_RTC_CAL_EnableCoarseDigital (RTC_TypeDef *RTCx) |
Enable Coarse digital calibration. More... | |
__STATIC_INLINE void | LL_RTC_CAL_DisableCoarseDigital (RTC_TypeDef *RTCx) |
Disable Coarse digital calibration. More... | |
__STATIC_INLINE void | LL_RTC_CAL_ConfigCoarseDigital (RTC_TypeDef *RTCx, uint32_t Sign, uint32_t Value) |
Set the coarse digital calibration. More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetCoarseDigitalValue (RTC_TypeDef *RTCx) |
Get the coarse digital calibration value @rmtoll CALIBR DC LL_RTC_CAL_GetCoarseDigitalValue. More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetCoarseDigitalSign (RTC_TypeDef *RTCx) |
Get the coarse digital calibration sign @rmtoll CALIBR DCS LL_RTC_CAL_GetCoarseDigitalSign. More... | |
__STATIC_INLINE void | LL_RTC_CAL_SetPulse (RTC_TypeDef *RTCx, uint32_t Pulse) |
Insert or not One RTCCLK pulse every 2exp11 pulses (frequency increased by 488.5 ppm) More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_IsPulseInserted (RTC_TypeDef *RTCx) |
Check if one RTCCLK has been inserted or not every 2exp11 pulses (frequency increased by 488.5 ppm) @rmtoll CALR CALP LL_RTC_CAL_IsPulseInserted. More... | |
__STATIC_INLINE void | LL_RTC_CAL_SetPeriod (RTC_TypeDef *RTCx, uint32_t Period) |
Set smooth calibration cycle period. More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetPeriod (RTC_TypeDef *RTCx) |
Get smooth calibration cycle period @rmtoll CALR CALW8 LL_RTC_CAL_GetPeriod CALR CALW16 LL_RTC_CAL_GetPeriod. More... | |
__STATIC_INLINE void | LL_RTC_CAL_SetMinus (RTC_TypeDef *RTCx, uint32_t CalibMinus) |
Set smooth Calibration minus. More... | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetMinus (RTC_TypeDef *RTCx) |
Get smooth Calibration minus @rmtoll CALR CALM LL_RTC_CAL_GetMinus. More... | |
__STATIC_INLINE void LL_RTC_CAL_ConfigCoarseDigital | ( | RTC_TypeDef * | RTCx, |
uint32_t | Sign, | ||
uint32_t | Value | ||
) |
Set the coarse digital calibration.
RTCx | RTC Instance |
Sign | This parameter can be one of the following values:
|
Value | value of coarse calibration expressed in ppm (coded on 5 bits) |
None |
Definition at line 3055 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_DisableCoarseDigital | ( | RTC_TypeDef * | RTCx | ) |
Disable Coarse digital calibration.
RTCx | RTC Instance |
None |
Definition at line 3035 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_EnableCoarseDigital | ( | RTC_TypeDef * | RTCx | ) |
Enable Coarse digital calibration.
RTCx | RTC Instance |
None |
Definition at line 3022 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetCoarseDigitalSign | ( | RTC_TypeDef * | RTCx | ) |
Get the coarse digital calibration sign @rmtoll CALIBR DCS LL_RTC_CAL_GetCoarseDigitalSign.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 3079 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetCoarseDigitalValue | ( | RTC_TypeDef * | RTCx | ) |
Get the coarse digital calibration value @rmtoll CALIBR DC LL_RTC_CAL_GetCoarseDigitalValue.
RTCx | RTC Instance |
value | of coarse calibration expressed in ppm (coded on 5 bits) |
Definition at line 3066 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetMinus | ( | RTC_TypeDef * | RTCx | ) |
Get smooth Calibration minus @rmtoll CALR CALM LL_RTC_CAL_GetMinus.
RTCx | RTC Instance |
Value | between Min_Data=0x00 and Max_Data= 0x1FF |
Definition at line 3164 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetOutputFreq | ( | RTC_TypeDef * | RTCx | ) |
Get Calibration output frequency (1 Hz or 512 Hz) @rmtoll CR COE LL_RTC_CAL_GetOutputFreq
CR COSEL LL_RTC_CAL_GetOutputFreq.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 3009 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetPeriod | ( | RTC_TypeDef * | RTCx | ) |
Get smooth calibration cycle period @rmtoll CALR CALW8 LL_RTC_CAL_GetPeriod
CALR CALW16 LL_RTC_CAL_GetPeriod.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 3139 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_IsPulseInserted | ( | RTC_TypeDef * | RTCx | ) |
Check if one RTCCLK has been inserted or not every 2exp11 pulses (frequency increased by 488.5 ppm) @rmtoll CALR CALP LL_RTC_CAL_IsPulseInserted.
RTCx | RTC Instance |
State | of bit (1 or 0). |
Definition at line 3106 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetMinus | ( | RTC_TypeDef * | RTCx, |
uint32_t | CalibMinus | ||
) |
Set smooth Calibration minus.
RTCx | RTC Instance |
CalibMinus | Value between Min_Data=0x00 and Max_Data=0x1FF |
None |
Definition at line 3153 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetOutputFreq | ( | RTC_TypeDef * | RTCx, |
uint32_t | Frequency | ||
) |
Set Calibration output frequency (1 Hz or 512 Hz)
RTCx | RTC Instance |
Frequency | This parameter can be one of the following values:
|
None |
Definition at line 2993 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetPeriod | ( | RTC_TypeDef * | RTCx, |
uint32_t | Period | ||
) |
Set smooth calibration cycle period.
RTCx | RTC Instance |
Period | This parameter can be one of the following values:
|
None |
Definition at line 3124 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetPulse | ( | RTC_TypeDef * | RTCx, |
uint32_t | Pulse | ||
) |
Insert or not One RTCCLK pulse every 2exp11 pulses (frequency increased by 488.5 ppm)
RTCx | RTC Instance |
Pulse | This parameter can be one of the following values:
|
None |
Definition at line 3095 of file stm32f4xx_ll_rtc.h.