|
AM62Px MCU+ SDK
10.01.00
|
|
Go to the documentation of this file.
43 #define HWIP_INVALID_EVENT_ID (0xFFFFU)
65 typedef struct HwiP_Config_
74 typedef struct HwiP_Params_ {
89 #define HwiP_OBJECT_SIZE_MAX (32u)
93 typedef struct HwiP_Object_ {
uint16_t eventId
Definition: HwiP.h:79
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:74
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:67
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:80
#define HwiP_OBJECT_SIZE_MAX
Max size of Hwi object across no-RTOS and all OS's.
Definition: HwiP.h:89
uint8_t isPulse
Definition: HwiP.h:82
HwiP_FxnCallback callback
Definition: HwiP.h:77
void HwiP_init(void)
Initialize Hwi module.
Opaque Hwi object used with the Hwi APIs.
Definition: HwiP.h:93
uint8_t isFIQ
Definition: HwiP.h:81
void * args
Definition: HwiP.h:78
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:76
void(* HwiP_FxnCallback)(void *args)
Callback that is called when a HW interrupt is received.
Definition: HwiP.h:59
HwiP config parameters, setup as part of SysConfig, not to be set by end-users directly.
Definition: HwiP.h:66