XMC Peripheral Library for XMC4000 Family
XMC_ETH_MAC_t Struct Reference

#include <xmc_eth_mac.h>

Data Fields

uint64_t address
 
uint8_t * frame_end
 
uint8_t num_rx_buf
 
uint8_t num_tx_buf
 
ETH_GLOBAL_TypeDef * regs
 
uint8_t * rx_buf
 
XMC_ETH_MAC_DMA_DESC_trx_desc
 
uint8_t rx_index
 
uint8_t * tx_buf
 
XMC_ETH_MAC_DMA_DESC_ttx_desc
 
uint8_t tx_index
 
uint8_t tx_ts_index
 

Detailed Description

ETH driver structure

Field Documentation

◆ address

uint64_t address

MAC address

◆ frame_end

uint8_t* frame_end

End of assembled frame fragments

◆ num_rx_buf

uint8_t num_rx_buf

How many RX descriptors?

◆ num_tx_buf

uint8_t num_tx_buf

How many TX descriptors?

◆ regs

ETH_GLOBAL_TypeDef* regs

ETH module 0 (now, we have a single ETH module)

◆ rx_buf

uint8_t* rx_buf

RX buffer

◆ rx_desc

DMA descriptor: RX

◆ rx_index

uint8_t rx_index

Receive descriptor index

◆ tx_buf

uint8_t* tx_buf

TX buffer

◆ tx_desc

DMA descriptor: TX

◆ tx_index

uint8_t tx_index

Transmit descriptor index

◆ tx_ts_index

uint8_t tx_ts_index

Transmit time-stamp descriptor index


The documentation for this struct was generated from the following file: