10.2.4.3 calendar_os_set_date_time
Configure the time for calendar HAL instance and hardware.
int32_t calendar_os_set_date_time(
struct calendar_os_descriptor *const calendar,
struct calendar_date_time *const time
)
Parameters
- calendar
-
Type: struct calendar_os_descriptor Struct *const
Pointer to the HAL Calendar instance.
- time
-
Type: struct calendar_date_time *const
Pointer to the time configuration.
Returns
Type: int32_t
- 0
-
Completed successfully.