15.6.3.6.2 Function rtc_calendar_unregister_callback()
Unregisters callback for the specified callback type.
enum status_code rtc_calendar_unregister_callback( struct rtc_module *const module, enum rtc_calendar_callback callback_type)
When called, the currently registered callback for the given callback type will be removed.
Data direction | Parameter name | Description |
---|---|---|
[in, out] |
module |
Pointer to the software instance struct |
[in] |
callback_type |
Specifies the callback type to unregister |
Returns
Status of unregistering callback.
Return value | Description |
---|---|
STATUS_OK |
Unregistering was done successfully |
STATUS_ERR_INVALID_ARG |
If trying to unregister a callback not available |