MSP432E4 DriverLib API Guide  1.11.00.03
Data Fields
tEMACDMADescriptor Struct Reference

A structure defining a single Ethernet DMA buffer descriptor. More...

#include <emac.h>

Collaboration diagram for tEMACDMADescriptor:
Collaboration graph
[legend]

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
 

Detailed Description

A structure defining a single Ethernet DMA buffer descriptor.

Field Documentation

§ ui32CtrlStatus

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.

§ ui32Count

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.

§ pvBuffer1

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.

§ DES3

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.

§ ui32ExtRxStatus

volatile uint32_t tEMACDMADescriptor::ui32ExtRxStatus

The fifth descriptor word is reserved for transmit descriptors but used to report extended status in a receive descriptor.

§ ui32Reserved

uint32_t tEMACDMADescriptor::ui32Reserved

The sixth descriptor word is reserved for both transmit and receive descriptors.

§ ui32IEEE1588TimeLo

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.

§ ui32IEEE1588TimeHi

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.


The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale