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 #1068 background imageLoading...
Page #1068 background image
LL RTC Generic Driver
UM1940
1068/1371
DocID028236 Rev 2
LL_RTC_GetSynchPrescaler
Function name
__STATIC_INLINE uint32_t LL_RTC_GetSynchPrescaler
(RTC_TypeDef * RTCx)
Function description
Get Synchronous prescaler factor.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data = 0 and Max_Data = 0x7FFF
Reference Manual to
LL API cross
reference:
PRER PREDIV_S LL_RTC_GetSynchPrescaler
LL_RTC_EnableWriteProtection
Function name
__STATIC_INLINE void LL_RTC_EnableWriteProtection
(RTC_TypeDef * RTCx)
Function description
Enable the write protection for RTC registers.
Parameters
RTCx: RTC Instance
Return values
None:
Reference Manual to
LL API cross
reference:
WPR KEY LL_RTC_EnableWriteProtection
LL_RTC_DisableWriteProtection
Function name
__STATIC_INLINE void LL_RTC_DisableWriteProtection
(RTC_TypeDef * RTCx)
Function description
Disable the write protection for RTC registers.
Parameters
RTCx: RTC Instance
Return values
None:
Reference Manual to
LL API cross
reference:
WPR KEY LL_RTC_DisableWriteProtection
LL_RTC_TIME_SetFormat
Function name
__STATIC_INLINE void LL_RTC_TIME_SetFormat
(RTC_TypeDef * RTCx, uint32_t TimeFormat)
Function description
Set time format (AM/24-hour or PM notation)
Parameters
RTCx: RTC Instance
TimeFormat: This parameter can be one of the following
values:
LL_RTC_TIME_FORMAT_AM_OR_24
LL_RTC_TIME_FORMAT_PM
Return values
None:
Notes
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.

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