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 1. Parameters
Data direction Parameter name Description

[in]

type

Type of callback function to unregister

Returns

Status of the de-registration operation.

Table 2. Return Values
Return value Description

STATUS_OK

The callback was Unregistered successfully

STATUS_ERR_INVALID_ARG

If an invalid callback type was supplied