EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1104 background imageLoading...
Page #1104 background image
LL RTC Generic Driver
UM1940
1104/1371
DocID028236 Rev 2
LL API cross
reference:
LL_RTC_CAL_ConfigCoarseDigital
Function name
__STATIC_INLINE void LL_RTC_CAL_ConfigCoarseDigital
(RTC_TypeDef * RTCx, uint32_t Sign, uint32_t Value)
Function description
Set the coarse digital calibration.
Parameters
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)
Return values
None:
Notes
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
Function name
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalValue (RTC_TypeDef * RTCx)
Function description
Get the coarse digital calibration value.
Parameters
RTCx: RTC Instance
Return values
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
Function name
__STATIC_INLINE uint32_t
LL_RTC_CAL_GetCoarseDigitalSign (RTC_TypeDef * RTCx)
Function description
Get the coarse digital calibration sign.
Parameters
RTCx: RTC Instance
Return values
Returned: value can be one of the following values:
LL_RTC_CALIB_SIGN_POSITIVE

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals