3.6.4.6.1 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)
| 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.
| Return value | Description |
|---|---|
|
STATUS_OK |
The callback was enabled successfully |
|
STATUS_ERR_INVALID_ARG |
If an invalid callback type was supplied |
