10.2.4.1 calendar_os_init
Initialize the Calendar HAL instance and hardware.
int32_t calendar_os_init(
struct calendar_os_descriptor *const calendar,
const void * hw
)
Parameters
- calendar
-
Type: struct calendar_os_descriptor Struct *const
Pointer to the HAL Calendar instance.
- hw
-
Type: const void *
Pointer to the hardware instance.
Returns
Type: int32_t
Operation status of init
- 0
-
Completed successfully.