PDK API Guide for J721E
EventCombinerP.h File Reference

Introduction

Event Combiner routines for the RTOS Porting Interface.

============================================================================


Go to the source code of this file.

Macros

Osal Event Combiner return Codes

Return codes for Osal Event Combiner functions

#define OSAL_EVTCOMBINE_GROUPREG_SUCCESS   (0)
 
#define OSAL_EVTCOMBINE_ERR_GROUPREG_REGISTER_ERR   (-1)
 
#define OSAL_EVTCOMBINE_ERR_GROUPREG_INVALID_INTNUM   (-2)
 
Osal Event Combiner Defualt Group Interrupts

Deafult group interrupt numbers for the Event Combiner

These are the system default interrupt numbers if the Event Combiner has already not been registered If applications register Event Combiners during startup, these values may not be used (in SYSBIOS case) If not, these are the interrupts reserved for Event Combiner group events (0-3). These defaults are stored in Osal_HwAttrs.ECM_intNum[] and can be obtained by the application at run time through the OSAL API Osal_getHwAttrs(). These values also can be modified using Osal_setHwAttrs(Osal_HwAttrs,OSAL_HWATTR_SET_ECM_INT)

#define OSAL_ECM_GROUP0_INT   4
 
#define OSAL_ECM_GROUP1_INT   5
 
#define OSAL_ECM_GROUP2_INT   6
 
#define OSAL_ECM_GROUP3_INT   7
 

Typedefs

typedef void(* EventCombinerP_FuncPtr) (uint32_t arg)
 

Functions

int32_t EventCombinerP_disableEvent (uint32_t eventId)
 Function to disable an event inside event combiner. More...
 
int32_t EventCombinerP_enableEvent (uint32_t eventId)
 Function to enable an event inside event combiner. More...
 
int32_t EventCombinerP_clearEvent (uint32_t eventId)
 Function to clear an event inside event combiner. More...
 
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. More...
 
int32_t EventCombinerP_dispatchUnplug (uint32_t eventId)
 Function to unplug an ISR handler to an event inside event combiner. More...
 
HwiP_Handle EventCombinerP_getHwi (uint32_t groupNum)
 Function to return the Hwi Handle corresponding to an event combiner group number. More...
 
int32_t EventCombinerP_getIntNum (int32_t groupNum)
 Function to return the interrupt vector number corresponding to a group number (0-3) More...
 
int32_t EventCombinerP_SingleRegisterInt (int32_t groupNum, int32_t intNum)
 Function to register single event combiner group to a vector number. More...
 
int32_t EventCombinerP_GroupRegisterInt (int32_t intNum[])
 Function to register single event combiner group to a vector number. More...