LL_RTC_CAL_ConfigCoarseDigital
__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:
LL_RTC_CALIB_SIGN_POSITIVE
LL_RTC_CALIB_SIGN_NEGATIVE
Value: value of coarse calibration expressed in ppm (coded
on 5 bits)
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
It can be written in initialization mode only
(LL_RTC_EnableInitMode function)
This Calibration value should be between 0 and 63 when
using negative sign with a 2-ppm step.
This Calibration value should be between 0 and 126 when
using positive sign with a 4-ppm step.
Reference Manual to
LL API cross
reference:
CALIBR DCS LL_RTC_CAL_ConfigCoarseDigital
CALIBR DC LL_RTC_CAL_ConfigCoarseDigital
LL_RTC_CAL_GetCoarseDigitalValue
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalValue (RTC_TypeDef * RTCx)
Get the coarse digital calibration value.
value: of coarse calibration expressed in ppm (coded on 5
bits)
Reference Manual to
LL API cross
reference:
CALIBR DC LL_RTC_CAL_GetCoarseDigitalValue
LL_RTC_CAL_GetCoarseDigitalSign
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalSign (RTC_TypeDef * RTCx)
Get the coarse digital calibration sign.
Returned: value can be one of the following values:
LL_RTC_CALIB_SIGN_POSITIVE