10.2.4.4 calendar_os_get_date_time
Get the time for calendar HAL instance and hardware.
int32_t calendar_os_get_date_time(
struct calendar_os_descriptor *const calendar,
struct calendar_date_time *const time
)
Retrieve the time from calendar instance.
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 value that will be filled with the current time.
Returns
Type: int32_t
Operation status of time retrieve.
- 0
-
Completed successfully.