10.1.3.6 calendar_set_time
Configure the time for calendar HAL instance and hardware.
int32_t calendar_set_time(
struct calendar_descriptor *const calendar,
struct calendar_time *const p_calendar_time
)
Parameters
- calendar
-
Type: struct calendar_descriptor *const
Pointer to the HAL Calendar instance.
- p_calendar_time
-
Type: struct calendar_time *const
Pointer to the time configuration.
Returns
Type: int32_t
- 0
-
Completed successfully.