AM263Px MCU+ SDK: EnetCpdma_OpenTxChPrms Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetCpdma_OpenTxChPrms Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Data Path (DMA) » Enet CPDMA APIs » CPDMA Configuration

## Detailed Description

Param struct for the TX channel open function.

The configuration structure for the TX channel open function # EnetCpdma_openTxCh().

## Data Fields
Enet_Handle | hEnet
uint32_t | chNum
EnetDma_PktNotifyCb | notifyCb
uint32_t | numTxPkts
void * | cbArg

## Field Documentation

## ◆ hEnet

Enet_Handle EnetCpdma_OpenTxChPrms::hEnet

Enet handle

## ◆ chNum

uint32_t EnetCpdma_OpenTxChPrms::chNum

CPDMA channel number allocated for transmit.

## ◆ notifyCb

EnetDma_PktNotifyCb EnetCpdma_OpenTxChPrms::notifyCb

Enet CPDMA event callback function - this function will be called when the registered packets are transmitted on TX channel

## ◆ numTxPkts

uint32_t EnetCpdma_OpenTxChPrms::numTxPkts

Maximum number of transmit packets, used for allocating number of DMA descriptors

## ◆ cbArg

void* EnetCpdma_OpenTxChPrms::cbArg

Argument to be used for the callback routines (it should mean something to layer into which the callback calls)