Function aes_enable_callback()

Enable an AES callback.

enum status_code aes_enable_callback(
		struct aes_module *const module,
		const enum aes_callback_type type)

Table 1. Parameters
Data direction Parameter name Description

[in, out]

module

Pointer to the software instance struct

[in]

type

Callback source type

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