Loading...
Searching...
No Matches
eth_conf_t Struct Reference

Ethernet Peripheral configuration. More...

Detailed Description

Ethernet Peripheral configuration.

Definition at line 44 of file cpu_eth.h.

#include <cpu_eth.h>

Data Fields

eth_mode_t mode
 Select configuration mode.
 
uint16_t speed
 Speed selection.
 
uint8_t dma
 Locical CMA Descriptor used for TX.
 
uint8_t dma_chan
 DMA channel used for TX.
 
uint8_t phy_addr
 PHY address.
 
gpio_t pins []
 Pins to use.
 

Field Documentation

◆ dma

uint8_t eth_conf_t::dma

Locical CMA Descriptor used for TX.

Definition at line 47 of file cpu_eth.h.

◆ dma_chan

uint8_t eth_conf_t::dma_chan

DMA channel used for TX.

Definition at line 48 of file cpu_eth.h.

◆ mode

eth_mode_t eth_conf_t::mode

Select configuration mode.

Definition at line 45 of file cpu_eth.h.

◆ phy_addr

uint8_t eth_conf_t::phy_addr

PHY address.

Definition at line 49 of file cpu_eth.h.

◆ pins

gpio_t eth_conf_t::pins[]

Pins to use.

MII requires 18 pins, RMII 9 and SMI 9. Not all speeds are supported by all modes.

Definition at line 50 of file cpu_eth.h.

◆ speed

uint16_t eth_conf_t::speed

Speed selection.

Definition at line 46 of file cpu_eth.h.


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