|
AM64x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
66 #define UDMA_EVENT_INVALID ((uint32_t) 0xFFFFU)
68 #define UDMA_INTR_INVALID ((uint32_t) 0xFFFF0000U)
73 #define UDMA_CORE_INTR_ANY ((uint32_t) 0xFFFF0001U)
76 #define UDMA_MAX_EVENTS_PER_VINTR (64U)
92 #define UDMA_EVENT_TYPE_DMA_COMPLETION ((uint32_t) 0x0001U)
99 #define UDMA_EVENT_TYPE_TEARDOWN_PACKET ((uint32_t) 0x0002U)
114 #define UDMA_EVENT_TYPE_TR ((uint32_t) 0x0003U)
132 #define UDMA_EVENT_TYPE_RING ((uint32_t) 0x0004U)
141 #define UDMA_EVENT_TYPE_MASTER ((uint32_t) 0x0005U)
147 #define UDMA_EVENT_TYPE_TEARDOWN_COMPLETION ((uint32_t) 0x0006U)
159 #define UDMA_EVENT_TYPE_ERR_OUT_OF_RANGE_FLOW ((uint32_t) 0x0006U)
175 #define UDMA_EVENT_TYPE_RING_MON ((uint32_t) 0x0007U)
186 #define UDMA_EVENT_MODE_EXCLUSIVE ((uint32_t) 0x0001U)
191 #define UDMA_EVENT_MODE_SHARED ((uint32_t) 0x0002U)
271 #if (UDMA_SOC_CFG_RING_MON_PRESENT == 1)
272 Udma_RingMonHandle monHandle;
478 typedef struct Udma_EventObject_t
uint32_t vintrNum
Definition: udma_event.h:288
uint32_t Udma_eventGetId(Udma_EventHandle eventHandle)
Returns the event ID allocated for this event.
uint32_t intrPriority
Definition: udma_event.h:258
uint32_t isException
Definition: udma_event.h:322
uint32_t chNum
Definition: udma_event.h:327
void UdmaEventPrms_init(Udma_EventPrms *eventPrms)
Udma_EventPrms structure init function.
Udma_RingHandle ringHandle
Definition: udma_event.h:229
void * Udma_ChHandle
UDMA channel handle.
Definition: udma_types.h:67
uint32_t flowId
Definition: udma_event.h:325
Udma_ChHandle chHandle
Definition: udma_event.h:223
UDMA event related parameters.
Definition: udma_event.h:216
Udma_EventHandle Udma_eventGetGlobalHandle(Udma_DrvHandle drvHandle)
Get the global event handle of the driver handle.
int32_t Udma_eventDisable(Udma_EventHandle eventHandle)
Disable the event at interrupt aggregator.
void * Udma_RingHandle
UDMA ring handle.
Definition: udma_types.h:71
uint32_t coreIntrNum
Definition: udma_event.h:290
int32_t Udma_eventEnable(Udma_EventHandle eventHandle)
Enable the event at interrupt aggregator.
int32_t Udma_eventRegister(Udma_DrvHandle drvHandle, Udma_EventHandle eventHandle, Udma_EventPrms *eventPrms)
UDMA event registration.
uint32_t preferredCoreIntrNum
Definition: udma_event.h:266
volatile uint64_t * intrStatusReg
Definition: udma_event.h:280
void * appData
Definition: udma_event.h:261
int32_t Udma_eventUnRegister(Udma_EventHandle eventHandle)
UDMA unregister event.
Udma_EventHandle controllerEventHandle
Definition: udma_event.h:233
void * Udma_EventHandle
UDMA event handle.
Definition: udma_types.h:69
volatile uint64_t * intrClearReg
Definition: udma_event.h:283
uint32_t eventMode
Definition: udma_event.h:219
void * Udma_DrvHandle
UDMA driver handle.
Definition: udma_types.h:65
uint32_t eventType
Definition: udma_event.h:217
void(* Udma_EventCallback)(Udma_EventHandle eventHandle, uint32_t eventType, void *appData)
UDMA event callback function.
Definition: udma_event.h:201
UDMAP receive flow id firewall status.
Definition: udma_event.h:321
uint64_t intrMask
Definition: udma_event.h:286
Opaque UDMA event object.
Definition: udma_event.h:479
Udma_EventCallback eventCb
Definition: udma_event.h:247