LL RTC Generic Driver
LL API cross
reference:
LL_RTC_CAL_ConfigCoarseDigital
Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:
LL_RTC_CAL_GetCoarseDigitalValue
Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:
LL_RTC_CAL_GetCoarseDigitalSign
Function name
Function description
Parameters
Return values
1104/1371
__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)
None:
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.
CALIBR DCS LL_RTC_CAL_ConfigCoarseDigital
CALIBR DC LL_RTC_CAL_ConfigCoarseDigital
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalValue (RTC_TypeDef * RTCx)
Get the coarse digital calibration value.
RTCx: RTC Instance
value: of coarse calibration expressed in ppm (coded on 5
bits)
CALIBR DC LL_RTC_CAL_GetCoarseDigitalValue
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalSign (RTC_TypeDef * RTCx)
Get the coarse digital calibration sign.
RTCx: RTC Instance
Returned: value can be one of the following values:
LL_RTC_CALIB_SIGN_POSITIVE
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers