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.

Table 27-8. Parameters
Data directionParameter nameDescription

[in]

type

Type of callback function to unregister

Returns

Status of the de-registration operation.

Table 27-9. Return Values
Return valueDescription

STATUS_OK

The callback was Unregistered successfully

STATUS_ERR_INVALID_ARG

If an invalid callback type was supplied