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
__STATIC_INLINE void LL_RTC_TIME_IncHour (RTC_TypeDef
* RTCx)
Add 1 hour (summer time change)
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
__STATIC_INLINE void LL_RTC_DATE_SetYear
(RTC_TypeDef * RTCx, uint32_t Year)
RTCx: RTC Instance
Year: Value between Min_Data=0x00 and Max_Data=0x99
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
__STATIC_INLINE uint32_t LL_RTC_DATE_GetYear
(RTC_TypeDef * RTCx)
Value: between Min_Data=0x00 and Max_Data=0x99
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