52 #ifndef ti_osal_EventCombinerP__include 53 #define ti_osal_EventCombinerP__include 144 #define OSAL_EVTCOMBINE_GROUPREG_SUCCESS (0) 146 #define OSAL_EVTCOMBINE_ERR_GROUPREG_REGISTER_ERR (-1) 148 #define OSAL_EVTCOMBINE_ERR_GROUPREG_INVALID_INTNUM (-2) 164 #define OSAL_ECM_GROUP0_INT 4 166 #define OSAL_ECM_GROUP1_INT 5 168 #define OSAL_ECM_GROUP2_INT 6 170 #define OSAL_ECM_GROUP3_INT 7 int32_t EventCombinerP_enableEvent(uint32_t eventId)
Function to enable an event inside event combiner.
void(* EventCombinerP_FuncPtr)(uint32_t arg)
Definition: EventCombinerP.h:63
void * HwiP_Handle
Opaque client reference to an instance of a HwiP.
Definition: HwiP.h:81
int32_t EventCombinerP_SingleRegisterInt(int32_t groupNum, int32_t intNum)
Function to register single event combiner group to a vector number.
int32_t EventCombinerP_dispatchPlug(uint32_t eventId, EventCombinerP_FuncPtr eventIsrRoutine, uintptr_t arg, bool unmask)
Function to plug an ISR handler to an event inside event combiner.
int32_t EventCombinerP_disableEvent(uint32_t eventId)
Function to disable an event inside event combiner.
HwiP_Handle EventCombinerP_getHwi(uint32_t groupNum)
Function to return the Hwi Handle corresponding to an event combiner group number.
int32_t EventCombinerP_clearEvent(uint32_t eventId)
Function to clear an event inside event combiner.
int32_t EventCombinerP_getIntNum(int32_t groupNum)
Function to return the interrupt vector number corresponding to a group number (0-3)
int32_t EventCombinerP_GroupRegisterInt(int32_t intNum[])
Function to register single event combiner group to a vector number.
Hardware Interrupt module for the RTOS Porting Interface.