![]() |
RTEMS 6.1
|
#include <gmacd.h>
Data Fields | |
| uint32_t | bIsGem: 1 |
| uint32_t | reserved: 31 |
| uint8_t | bDmaBurstLength |
| uint8_t * | pRxBuffer |
| sGmacRxDescriptor * | pRxD |
| uint16_t | wRxBufferSize |
| uint16_t | wRxSize |
| uint8_t * | pTxBuffer |
| sGmacTxDescriptor * | pTxD |
| uint16_t | wTxBufferSize |
| uint16_t | wTxSize |
| fGmacdTransferCallback * | pTxCb |
GMAC driver init struct.
| uint8_t* _GmacInit::pRxBuffer |
RX descriptor and data buffers
| sGmacRxDescriptor* _GmacInit::pRxD |
RX data buffers: should be wRxBufferSize * wRxSize byte long in a DMA capable memory region
| uint8_t* _GmacInit::pTxBuffer |
number of RX descriptor and data buffers TX descriptor and data buffers TX data buffers: should be wTxBufferSize * wTxSize byte long in a DMA capable memory region
| sGmacTxDescriptor* _GmacInit::pTxD |
TX buffer descriptors: should have wTxSize entries in a DMA capable non-cached memory region
| uint16_t _GmacInit::wRxBufferSize |
RX buffer descriptors: should have wRxSize entries in a DMA capable memory region
| uint16_t _GmacInit::wRxSize |
size of a single RX data buffer
| uint16_t _GmacInit::wTxBufferSize |
size of a single TX data buffer
| uint16_t _GmacInit::wTxSize |
number of TX descriptor and data buffers