Function wdt_enable_callback()

Enables asynchronous callback generation for a given type.

enum status_code wdt_enable_callback(
		const enum wdt_callback type)

Enables asynchronous callbacks for a given callback type. This must be called before an external interrupt channel will generate callback events.

Table 1. Parameters
Data direction Parameter name Description

[in]

type

Type of callback function to enable

Returns

Status of the callback enable operation.

Table 2. Return Values
Return value Description

STATUS_OK

The callback was enabled successfully

STATUS_ERR_INVALID_ARG

If an invalid callback type was supplied