|
AM65x MCU+ SDK
09.01.00
|
|
Go to the documentation of this file.
63 typedef struct HwiP_Config_
72 typedef struct HwiP_Params_ {
87 #define HwiP_OBJECT_SIZE_MAX (32u)
91 typedef struct HwiP_Object_ {
uint16_t eventId
Definition: HwiP.h:77
uint32_t HwiP_inISR(void)
Check if the caller of this function is inside a ISR or not.
void HwiP_destruct(HwiP_Object *obj)
Cleanup, delete, destruct a Hwi object.
uint32_t HwiP_disableInt(uint32_t intNum)
Disable a specific interrupt.
Parameters passed during HwiP_construct.
Definition: HwiP.h:72
void HwiP_post(uint32_t intNum)
Force trigger a specific interrupt.
void HwiP_restoreInt(uint32_t intNum, uint32_t oldIntState)
Restore a specific interrupt.
int32_t HwiP_unregisterNmiHandler(void)
This API unregisters the current NMI handler.
void HwiP_enable(void)
Enable all interrupts.
int32_t HwiP_construct(HwiP_Object *obj, HwiP_Params *params)
Create a Hwi object.
void HwiP_Params_init(HwiP_Params *params)
Set default values to HwiP_Params.
uint32_t intcBaseAddr
Definition: HwiP.h:65
void HwiP_enableInt(uint32_t intNum)
Enable a specific interrupt.
int32_t HwiP_registerNmiHandler(HwiP_FxnCallback nmiHandler, void *args)
This API registers the NMI handler.
uint8_t priority
Definition: HwiP.h:78
#define HwiP_OBJECT_SIZE_MAX
Max size of Hwi object across no-RTOS and all OS's.
Definition: HwiP.h:87
uint8_t isPulse
Definition: HwiP.h:80
HwiP_FxnCallback callback
Definition: HwiP.h:75
void HwiP_init(void)
Initialize Hwi module.
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:91
uint8_t isFIQ
Definition: HwiP.h:79
void * args
Definition: HwiP.h:76
uintptr_t HwiP_disable(void)
Disable all interrupts.
void HwiP_restore(uintptr_t oldIntState)
Restores all interrupts to a given state.
void HwiP_clearInt(uint32_t intNum)
Clear a pending specific interrupt.
int32_t HwiP_setArgs(HwiP_Object *obj, void *args)
Set argument to pass to the ISR.
uint32_t intNum
Definition: HwiP.h:74
void(* HwiP_FxnCallback)(void *args)
Callback that is called when a HW interrupt is received.
Definition: HwiP.h:57
HwiP config parameters, setup as part of SysConfig, not to be set by end-users directly.
Definition: HwiP.h:64