calendar_deinit

Reset the Calendar HAL instance and hardware.

int32_t calendar_deinit(
    struct calendar_descriptor *const calendar
)

Reset Calendar instance to hardware defaults.

Parameters

calendar

Type: struct calendar_descriptor *const

Pointer to the HAL Calendar instance.

Returns

Type: int32_t

Operation status of reset.

0

Completed successfully.