Unregisters a callback.
enum status_code trng_unregister_callback( struct trng_module * module, enum trng_callback callback_type)
Unregisters a callback function implemented by the user. The callback should be disabled before it is unregistered.
Data direction | Parameter name | Description |
---|---|---|
[in] |
module |
Pointer to TC software instance struct |
[in] |
callback_type |
Callback type given by an enum |
Return value | Description |
---|---|
STATUS_OK |
The function exited successfully |