#include <stddef.h>
#include <stdint.h>
#include <ti/drivers/utils/List.h>
Go to the source code of this file.
§ SecureCallback_FuncPtr
typedef void(* SecureCallback_FuncPtr) (uintptr_t arg) |
§ SecureCallback_Object
§ SecureCallback_Handle
§ SecureCallback_Config
§ SecureCallback_init()
void SecureCallback_init |
( |
void |
| ) |
|
Initialize SecureCallback driver.
- Note
- This API is only available to non-secure code. Must be called once prior to invoking any other SecureCallback APIs.
§ SecureCallback_construct()
Construct a callback object and adds it to the servicing list.
- Note
- This API is only available to non-secure code.
- Parameters
-
[in] | object | A pointer to a SecureCallback_Object structure. |
[in] | fxn | A pointer to this object's callback function. |
[in] | arg | A uint argument passed to the callback function. |
§ SecureCallback_destruct()
Destruct a callback object, removing it from the servicing list.
- Note
- This API is only available to non-secure code.
- Parameters
-
§ SecureCallback_post()
Triggers the dispatcher targeting the specified callback.
- Note
- This API is available to both non-secure and secure code.
- Parameters
-
- Precondition
- The callback object must have been created by SecureCallback_construct().