PDK API Guide for J721E
Csirx_EventPrms Struct Reference

Detailed Description

CSIRX event related parameters.

Data Fields

uint32_t eventGroup
 
uint32_t eventMasks
 
CsirxDrv_EventCallback eventCb
 
uint32_t intrPriority
 
void * appData
 
uint32_t coreIntrNum
 

Field Documentation

◆ eventGroup

uint32_t Csirx_EventPrms::eventGroup

Event type to register. Refer CsirxDrv_EventGroup for event groups

◆ eventMasks

uint32_t Csirx_EventPrms::eventMasks

Events to register. Application/caller can set multiple flags Refer CsirxDrv_EventTypeError for Error events

◆ eventCb

CsirxDrv_EventCallback Csirx_EventPrms::eventCb

When callback function is set (non-NULL), the driver will allocate core level interrupt through Interrupt Router and the function will be called when the registered event occurs. When set to NULL, the API will only allocate event and no interrupt routing is performed.

◆ intrPriority

uint32_t Csirx_EventPrms::intrPriority

Priority of interrupt to register with OSAL. The interpretation depends on the OSAL implementation

◆ appData

void* Csirx_EventPrms::appData

Application/caller context pointer passed back in the event callback function. This could be used by the caller to identify the channel/event for which the callback is called. This can be set to NULL, if not required by caller.

◆ coreIntrNum

uint32_t Csirx_EventPrms::coreIntrNum

Core interrupt number allocated. This number can be used to register with the OSAL For J7ES SoC this is auto calculated in the driver and hence should be passed as initialized value by 'Csirx_eventPrmsInit()' API