27.6.3.3.2 Function wdt_unregister_callback()
Unregisters an asynchronous callback function with the driver.
enum status_code wdt_unregister_callback( const enum wdt_callback type)
Unregisters an asynchronous callback with the WDT driver, removing it from the internal callback registration table.
Data direction | Parameter name | Description |
---|---|---|
[in] |
type |
Type of callback function to unregister |
Returns
Status of the de-registration operation.
Return value | Description |
---|---|
STATUS_OK |
The callback was Unregistered successfully |
STATUS_ERR_INVALID_ARG |
If an invalid callback type was supplied |