19.2.25.3 RTC_GetTime
void RTC_GetTime ( uint32_t RTC_Format, RTC_TimeTypeDef
* RTC_TimeStruct)
Get the RTC current Time.
ï‚· RTC_Format : specifies the format of the returned
parameters. This parameter can be one of the following
values:
ï€ RTC_Format_BIN : Binary data format
ï€ RTC_Format_BCD : BCD data format
ï‚· RTC_TimeStruct : pointer to a RTC_TimeTypeDef structure
that will contain the returned current time configuration.
19.2.25.4 RTC_GetSubSecond
uint32_t RTC_GetSubSecond ( void )
Gets the RTC current Calendar Subseconds value.
ï‚· RTC current Calendar Subseconds value.
ï‚· This function freeze the Time and Date registers after reading
the SSR register.
19.2.25.5 RTC_SetDate
ErrorStatus RTC_SetDate ( uint32_t RTC_Format,
RTC_DateTypeDef * RTC_DateStruct)
Set the RTC current date.