STM32F103xB HAL User Manual
Functions
Calibration
RTC Exported Functions

Functions

__STATIC_INLINE void LL_RTC_CAL_SetCoarseDigital (BKP_TypeDef *BKPx, uint32_t Value)
 Set the coarse digital calibration.
__STATIC_INLINE uint32_t LL_RTC_CAL_GetCoarseDigital (BKP_TypeDef *BKPx)
 Get the coarse digital calibration value.

Function Documentation

__STATIC_INLINE uint32_t LL_RTC_CAL_GetCoarseDigital ( BKP_TypeDef *  BKPx)

Get the coarse digital calibration value.

Reference Manual to LL API cross reference:
RTCCR CAL LL_RTC_CAL_SetCoarseDigital
Parameters:
BKPxBKP Instance
Return values:
valueof coarse calibration expressed in ppm (coded on 5 bits)

Definition at line 652 of file stm32f1xx_ll_rtc.h.

__STATIC_INLINE void LL_RTC_CAL_SetCoarseDigital ( BKP_TypeDef *  BKPx,
uint32_t  Value 
)

Set the coarse digital calibration.

Note:
Bit is write-protected. LL_RTC_DisableWriteProtection function should be called before.
It can be written in initialization mode only (LL_RTC_EnterInitMode function)
Reference Manual to LL API cross reference:
RTCCR CAL LL_RTC_CAL_SetCoarseDigital
Parameters:
BKPxRTC Instance
Valuevalue of coarse calibration expressed in ppm (coded on 5 bits)
Note:
This Calibration value should be between 0 and 121 when using positive sign with a 4-ppm step.
Return values:
None

Definition at line 641 of file stm32f1xx_ll_rtc.h.