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

Ethernet peripheral configuration. More...

Detailed Description

Ethernet peripheral configuration.

Ethernet Peripheral configuration.

Definition at line 89 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

gpio_t phy_en_pin
 PHY / RMII clock enable, GPIO_UNDEF if unused.
 
gpio_t phy_rst_pin
 PHY reset, GPIO_UNDEF if unused.
 
uint16_t speed
 Link speed selection.
 
uint8_t phy_addr
 MIIM address.
 
eth_mode_t mode
 Select configuration mode.
 
uint8_t dma
 Locical CMA Descriptor used for TX.
 
uint8_t dma_chan
 DMA channel used for TX.
 
gpio_t pins []
 Pins to use.
 

Field Documentation

◆ dma

uint8_t eth_conf_t::dma

Locical CMA Descriptor used for TX.

Definition at line 43 of file cpu_eth.h.

◆ dma_chan

uint8_t eth_conf_t::dma_chan

DMA channel used for TX.

Definition at line 44 of file cpu_eth.h.

◆ mode

eth_mode_t eth_conf_t::mode

Select configuration mode.

Definition at line 41 of file cpu_eth.h.

◆ phy_addr

uint8_t eth_conf_t::phy_addr

MIIM address.

PHY address.

Definition at line 93 of file periph_cpu.h.

◆ phy_en_pin

gpio_t eth_conf_t::phy_en_pin

PHY / RMII clock enable, GPIO_UNDEF if unused.

Definition at line 90 of file periph_cpu.h.

◆ phy_rst_pin

gpio_t eth_conf_t::phy_rst_pin

PHY reset, GPIO_UNDEF if unused.

Definition at line 91 of file periph_cpu.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 46 of file cpu_eth.h.

◆ speed

uint16_t eth_conf_t::speed

Link speed selection.

Speed selection.

Definition at line 92 of file periph_cpu.h.


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