LL_RTC_DATE_SetYear() function
Set Year in BCD format
Arguments
RTCx
RTC Instance
Year
Value between Min_Data=0x00 and Max_Data=0x99
Return value
None
Notes
helper macro __LL_RTC_CONVERT_BIN2BCD is available to convert Year from binary to BCD format DR YU LL_RTC_DATE_SetYear
Data read by LL_RTC_DATE_SetYear()
LL_RTC_DATE_SetYear()