Go to the source code of this file.
Data Structures | |
struct | HwiP_Config |
HwiP config parameters, setup as part of SysConfig, not to be set by end-users directly. More... | |
struct | HwiP_Params |
Parameters passed during HwiP_construct. More... | |
struct | HwiP_Object |
Opaque Hwi object used with the Hwi APIs. More... | |
Macros | |
#define | HwiP_OBJECT_SIZE_MAX (32u) |
Max size of Hwi object across no-RTOS and all OS's. More... | |
Typedefs | |
typedef void(* | HwiP_FxnCallback) (void *args) |
Callback that is called when a HW interrupt is received. More... | |
Functions | |
void | HwiP_Params_init (HwiP_Params *params) |
Set default values to HwiP_Params. More... | |
int32_t | HwiP_construct (HwiP_Object *obj, HwiP_Params *params) |
Create a Hwi object. More... | |
int32_t | HwiP_setArgs (HwiP_Object *obj, void *args) |
Set argument to pass to the ISR. More... | |
void | HwiP_destruct (HwiP_Object *obj) |
Cleanup, delete, destruct a Hwi object. More... | |
void | HwiP_enableInt (uint32_t intNum) |
Enable a specific interrupt. More... | |
uint32_t | HwiP_disableInt (uint32_t intNum) |
Disable a specific interrupt. More... | |
void | HwiP_restoreInt (uint32_t intNum, uint32_t oldIntState) |
Restore a specific interrupt. More... | |
void | HwiP_clearInt (uint32_t intNum) |
Clear a pending specific interrupt. More... | |
void | HwiP_post (uint32_t intNum) |
Force trigger a specific interrupt. More... | |
uintptr_t | HwiP_disable (void) |
Disable all interrupts. More... | |
void | HwiP_enable (void) |
Enable all interrupts. More... | |
void | HwiP_restore (uintptr_t oldIntState) |
Restores all interrupts to a given state. More... | |
uint32_t | HwiP_inISR (void) |
Check if the caller of this function is inside a ISR or not. More... | |
void | HwiP_init (void) |
Initialize Hwi module. More... | |
int32_t | HwiP_registerNmiHandler (HwiP_FxnCallback nmiHandler, void *args) |
This API registers the NMI handler. More... | |
int32_t | HwiP_unregisterNmiHandler (void) |
This API unregisters the current NMI handler. More... | |