Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Calibration
[RTC Exported Functions]
Functions | |
__STATIC_INLINE void | LL_RTC_CAL_SetOutputFreq (RTC_TypeDef *RTCx, uint32_t Frequency) |
Set Calibration output frequency (1 Hz or 512 Hz) | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetOutputFreq (RTC_TypeDef *RTCx) |
Get Calibration output frequency (1 Hz or 512 Hz) CR COE LL_RTC_CAL_GetOutputFreq CR COSEL LL_RTC_CAL_GetOutputFreq. | |
__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) | |
__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) CALR CALP LL_RTC_CAL_IsPulseInserted. | |
__STATIC_INLINE void | LL_RTC_CAL_SetPeriod (RTC_TypeDef *RTCx, uint32_t Period) |
Set the calibration cycle period. | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetPeriod (RTC_TypeDef *RTCx) |
Get the calibration cycle period CALR CALW8 LL_RTC_CAL_GetPeriod CALR CALW16 LL_RTC_CAL_GetPeriod. | |
__STATIC_INLINE void | LL_RTC_CAL_SetMinus (RTC_TypeDef *RTCx, uint32_t CalibMinus) |
Set Calibration minus. | |
__STATIC_INLINE uint32_t | LL_RTC_CAL_GetMinus (RTC_TypeDef *RTCx) |
Get Calibration minus CALR CALM LL_RTC_CAL_GetMinus. |
Function Documentation
__STATIC_INLINE uint32_t LL_RTC_CAL_GetMinus | ( | RTC_TypeDef * | RTCx ) |
Get Calibration minus CALR CALM LL_RTC_CAL_GetMinus.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
0. . . 0x1FF
Definition at line 3115 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetOutputFreq | ( | RTC_TypeDef * | RTCx ) |
Get Calibration output frequency (1 Hz or 512 Hz) CR COE LL_RTC_CAL_GetOutputFreq
CR COSEL LL_RTC_CAL_GetOutputFreq.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value can be one of the following values: - LL_RTC_CALIB_OUTPUT_NONE
- LL_RTC_CALIB_OUTPUT_1HZ
- LL_RTC_CALIB_OUTPUT_512HZ
Definition at line 3030 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetPeriod | ( | RTC_TypeDef * | RTCx ) |
Get the calibration cycle period CALR CALW8 LL_RTC_CAL_GetPeriod
CALR CALW16 LL_RTC_CAL_GetPeriod.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
Returned value can be one of the following values: - LL_RTC_CALIB_PERIOD_32SEC
- LL_RTC_CALIB_PERIOD_16SEC
- LL_RTC_CALIB_PERIOD_8SEC
Definition at line 3090 of file stm32l4xx_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) CALR CALP LL_RTC_CAL_IsPulseInserted.
- Parameters:
-
RTCx RTC Instance
- Return values:
-
State of bit (1 or 0).
Definition at line 3057 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetMinus | ( | RTC_TypeDef * | RTCx, |
uint32_t | CalibMinus | ||
) |
Set Calibration minus.
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
- Bit can be written only when RECALPF is set to 0 in RTC_ISR CALR CALM LL_RTC_CAL_SetMinus
- Parameters:
-
RTCx RTC Instance CalibMinus 0. . . 0x1FF
- Return values:
-
None
Definition at line 3104 of file stm32l4xx_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)
- Note:
- Bits are write-protected. LL_RTC_DisableWriteProtection function should be called before. CR COE LL_RTC_CAL_SetOutputFreq
CR COSEL LL_RTC_CAL_SetOutputFreq
- Parameters:
-
RTCx RTC Instance Frequency This parameter can be one of the following values: - LL_RTC_CALIB_OUTPUT_NONE
- LL_RTC_CALIB_OUTPUT_1HZ
- LL_RTC_CALIB_OUTPUT_512HZ
- Return values:
-
None
Definition at line 3015 of file stm32l4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_CAL_SetPeriod | ( | RTC_TypeDef * | RTCx, |
uint32_t | Period | ||
) |
Set the calibration cycle period.
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
-
Bit can be written only when RECALPF is set to 0 in RTC_ISR CALR CALW8 LL_RTC_CAL_SetPeriod
CALR CALW16 LL_RTC_CAL_SetPeriod
- Parameters:
-
RTCx RTC Instance Period This parameter can be one of the following values: - LL_RTC_CALIB_PERIOD_32SEC
- LL_RTC_CALIB_PERIOD_16SEC
- LL_RTC_CALIB_PERIOD_8SEC
- Return values:
-
None
Definition at line 3075 of file stm32l4xx_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)
- Note:
- Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
- Bit can be written only when RECALPF is set to 0 in RTC_ISR CALR CALP LL_RTC_CAL_SetPulse
- Parameters:
-
RTCx RTC Instance Pulse This parameter can be one of the following values: - LL_RTC_CALIB_INSERTPULSE_NONE
- LL_RTC_CALIB_INSERTPULSE_SET
- Return values:
-
None
Definition at line 3046 of file stm32l4xx_ll_rtc.h.
Generated on Tue Jul 12 2022 11:35:25 by
