58 #ifndef ti_osal_HwiP__include 59 #define ti_osal_HwiP__include 74 #define HWIP_USE_DEFAULT_PRIORITY (~((uint32_t)0)) 86 typedef enum HwiP_Status_e {
134 typedef struct HwiP_Params_s {
144 #if defined (__ARM_ARCH_7A__) || defined(__aarch64__) || defined (__TI_ARM_V7R4__) 145 uint32_t triggerSensitivity;
252 extern int32_t
HwiP_post(uint32_t interruptNum);
uint32_t enableIntr
Definition: HwiP.h:141
Basic HwiP Parameters.
Definition: HwiP.h:134
char * name
Definition: HwiP.h:135
void HwiP_disableInterrupt(int32_t interruptNum)
Function to disable a single interrupt.
void HwiP_clearInterrupt(int32_t interruptNum)
Function to clear a single interrupt.
void * HwiP_Handle
Opaque client reference to an instance of a HwiP.
Definition: HwiP.h:81
uint32_t evtId
Definition: HwiP.h:143
void HwiP_enableInterrupt(int32_t interruptNum)
Function to enable a single interrupt.
void HwiP_Params_init(HwiP_Params *hwipParams)
Initialize params structure to default values.
void HwiP_restore(uintptr_t key)
Function to restore interrupts to exit a critical region.
uint32_t priority
Definition: HwiP.h:140
HwiP_Status HwiP_delete(HwiP_Handle hwiPhandle)
Function to delete an interrupt on CortexM devices.
void(* HwiP_Fxn)(uintptr_t arg)
Prototype for the entry function for a hardware interrupt.
Definition: HwiP.h:123
int32_t HwiP_post(uint32_t interruptNum)
Function to post the Hwi interrupt by software.
uintptr_t arg
Definition: HwiP.h:139
HwiP_Handle HwiP_getHandle(int32_t interruptNum)
Function to get HwiP Handle from an interrupt number.
HwiP_Handle HwiP_create(int32_t interruptNum, HwiP_Fxn hwiFxn, const HwiP_Params *hwipParams)
Function to create an interrupt on CortexM devices.
HwiP_Status
Status codes for HwiP APIs.
Definition: HwiP.h:86
uintptr_t HwiP_disable(void)
Function to disable interrupts to enter a critical region.
OSAL_armGicTrigType_t
Enumerates the types different trigger types. Please refer to Section 4.3.13 Interrupt Configuration ...
Definition: HwiP.h:97
int32_t HwiP_getEventId(int32_t interruptNum)
Function to get the eventId associated with an interrupt number.