AM62L FreeRTOS SDK  11.00.00

Detailed Description

UDMA event related parameters.

Data Fields

uint32_t eventType
 
uint32_t eventMode
 
Udma_ChHandle chHandle
 
Udma_RingHandle ringHandle
 
Udma_EventCallback eventCb
 
Udma_EventHandle masterEventHandle
 
uint32_t intrPriority
 
void * appData
 
uint32_t preferredCoreIntrNum
 
volatile uint32_t * intrStatusReg
 
volatile uint32_t * intrClearReg
 
uint64_t intrMask
 
uint32_t coreIntrNum
 

Field Documentation

◆ eventType

uint32_t Udma_EventPrms::eventType

[IN] Event type to register. Refer Udma_EventType

◆ eventMode

uint32_t Udma_EventPrms::eventMode

[IN] Event mode - exclusive or shared. Refer Udma_EventMode. This parameter should be set to UDMA_EVENT_MODE_SHARED for UDMA_EVENT_TYPE_MASTER event type.

◆ chHandle

Udma_ChHandle Udma_EventPrms::chHandle

[IN] Channel handle when the event type is one of below

◆ ringHandle

Udma_RingHandle Udma_EventPrms::ringHandle

[IN] Ring handle when the event type is one of below

◆ eventCb

Udma_EventCallback Udma_EventPrms::eventCb

[IN] 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. Note: In case of shared events (multiple events mapped to same interrupt), the driver will call the callbacks in the order of event registration.

◆ masterEventHandle

Udma_EventHandle Udma_EventPrms::masterEventHandle

◆ intrPriority

uint32_t Udma_EventPrms::intrPriority

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

◆ appData

void* Udma_EventPrms::appData

[IN] 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.

◆ preferredCoreIntrNum

uint32_t Udma_EventPrms::preferredCoreIntrNum

[IN] Preferred core interrupt number which goes to a core.

If set to UDMA_CORE_INTR_ANY, will allocate from free pool. Else will try to allocate the mentioned interrupt itself.

◆ intrStatusReg

volatile uint32_t* Udma_EventPrms::intrStatusReg

[OUT] Interrupt status register address of the allocated IA VINT register. This is used to check if interrupt occurred

◆ intrClearReg

volatile uint32_t* Udma_EventPrms::intrClearReg

[OUT] Interrupt clear register address of the allocated IA VINT register. This is used to clear if interrupt occurred

◆ intrMask

uint64_t Udma_EventPrms::intrMask

[OUT] IA Virtual interrupt number allocated.

◆ coreIntrNum

uint32_t Udma_EventPrms::coreIntrNum

[OUT] Core interrupt number allocated. This number can be used to register with the OSAL