A structure defining a single Ethernet DMA buffer descriptor. More...
#include <emac.h>
Data Fields | |
volatile uint32_t | ui32CtrlStatus |
volatile uint32_t | ui32Count |
void * | pvBuffer1 |
tEMACDES3 | DES3 |
volatile uint32_t | ui32ExtRxStatus |
uint32_t | ui32Reserved |
volatile uint32_t | ui32IEEE1588TimeLo |
volatile uint32_t | ui32IEEE1588TimeHi |
A structure defining a single Ethernet DMA buffer descriptor.
volatile uint32_t tEMACDMADescriptor::ui32CtrlStatus |
The first DMA descriptor word contains various control and status bits depending upon whether the descriptor is in the transmit or receive queue. Bit 31 is always the ``OWN'' bit which, when set, indicates that the hardware has control of the descriptor.
volatile uint32_t tEMACDMADescriptor::ui32Count |
The second descriptor word contains information on the size of the buffer or buffers attached to the descriptor and various additional control bits.
void* tEMACDMADescriptor::pvBuffer1 |
The third descriptor word contains a pointer to the buffer containing data to transmit or into which received data should be written. This pointer must refer to a buffer in internal SRAM. Pointers to flash or EPI-connected memory may not be used and will result in the MAC reporting a bus error.
tEMACDES3 tEMACDMADescriptor::DES3 |
The fourth descriptor word contains either a pointer to the next descriptor in the ring or a pointer to a second data buffer. The meaning of the word is controlled by the ``CHAINED'' control bit which appears in the first word of the transmit descriptor or the second word of the receive descriptor.
volatile uint32_t tEMACDMADescriptor::ui32ExtRxStatus |
The fifth descriptor word is reserved for transmit descriptors but used to report extended status in a receive descriptor.
uint32_t tEMACDMADescriptor::ui32Reserved |
The sixth descriptor word is reserved for both transmit and receive descriptors.
volatile uint32_t tEMACDMADescriptor::ui32IEEE1588TimeLo |
The seventh descriptor word contains the low 32 bits of the 64-bit timestamp captured for transmitted or received data. The value is set only when the transmitted or received data contains the end of a packet. Availability of the timestamp is indicated via a status bit in the first descriptor word.
volatile uint32_t tEMACDMADescriptor::ui32IEEE1588TimeHi |
The eighth descriptor word contains the high 32 bits of the 64-bit timestamp captured for transmitted or received data.