10.1.3.1 calendar_init
Initialize the Calendar HAL instance and hardware.
int32_t calendar_init(
struct calendar_descriptor *const calendar,
const void * hw
)
Parameters
- calendar
-
Type: struct calendar_descriptor *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.