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 #1074 background imageLoading...
Page #1074 background image
LL RTC Generic Driver
UM1940
1074/1371
DocID028236 Rev 2
Parameters
RTCx: RTC Instance
Return values
None:
Notes
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
Reference Manual to
LL API cross
reference:
CR SUB1H LL_RTC_TIME_DecHour
LL_RTC_TIME_IncHour
Function name
__STATIC_INLINE void LL_RTC_TIME_IncHour (RTC_TypeDef
* RTCx)
Function description
Add 1 hour (summer time change)
Parameters
RTCx: RTC Instance
Return values
None:
Notes
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
Reference Manual to
LL API cross
reference:
CR ADD1H LL_RTC_TIME_IncHour
LL_RTC_DATE_SetYear
Function name
__STATIC_INLINE void LL_RTC_DATE_SetYear
(RTC_TypeDef * RTCx, uint32_t Year)
Function description
Set Year in BCD format.
Parameters
RTCx: RTC Instance
Year: Value between Min_Data=0x00 and Max_Data=0x99
Return values
None:
Notes
helper macro __LL_RTC_CONVERT_BIN2BCD is available
to convert Year from binary to BCD format
Reference Manual to
LL API cross
reference:
DR YT LL_RTC_DATE_SetYear
DR YU LL_RTC_DATE_SetYear
LL_RTC_DATE_GetYear
Function name
__STATIC_INLINE uint32_t LL_RTC_DATE_GetYear
(RTC_TypeDef * RTCx)
Function description
Get Year in BCD format.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x00 and Max_Data=0x99
Notes
if shadow mode is disabled (BYPSHAD=0), need to check if
RSF flag is set before reading this bit
helper macro __LL_RTC_CONVERT_BCD2BIN is available

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