calendar_disable

Disable the Calendar HAL instance and hardware.

int32_t calendar_disable(
    struct calendar_descriptor *const calendar
)

Disable 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.