HAL_RTC_SetDate() function
Sets RTC current date.
Arguments
hrtc
pointer to a RTC_HandleTypeDef structure that contains the configuration information for RTC.
sDate
Pointer to date structure
specifies the format of the entered parameters. This parameter can be one of the following values: @arg RTC_FORMAT_BIN: Binary data format @arg RTC_FORMAT_BCD: BCD data format
Return value
HAL status
Examples
HAL_RTC_SetDate() is referenced by
34 libraries and example projects.
Functions called by HAL_RTC_SetDate()
HAL_RTC_SetDate()
assert_failed() all items filtered out
Data read by HAL_RTC_SetDate()
Data written by HAL_RTC_SetDate()
HAL_RTC_SetDate()::datetmpreg HAL_RTC_SetDate()::status all items filtered out
HAL_RTC_SetDate()
HAL_RTC_SetDate()::datetmpreg HAL_RTC_SetDate()::status all items filtered out
Type of HAL_RTC_SetDate()
HAL_RTC_SetDate()
uint32_t all items filtered out