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

Ethernet peripheral configuration. More...

Detailed Description

Ethernet peripheral configuration.

Ethernet Peripheral configuration.

Definition at line 657 of file periph_cpu.h.

#include <periph_cpu.h>

Data Fields

gpio_t phy_en_pin
 PHY power enable, GPIO_UNDEF if unused.
 
gpio_t phy_rst_pin
 PHY reset, GPIO_UNDEF if unused.
 
uint32_t routeloc1
 Pre-shifted bits for ETH->ROUTELOC1.
 
uint16_t speed
 Default link speed (MII BMCR speed/duplex bits)
 
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 662 of file periph_cpu.h.

◆ phy_en_pin

gpio_t eth_conf_t::phy_en_pin

PHY power enable, GPIO_UNDEF if unused.

PHY / RMII clock enable, GPIO_UNDEF if unused.

Definition at line 658 of file periph_cpu.h.

◆ phy_rst_pin

gpio_t eth_conf_t::phy_rst_pin

PHY reset, GPIO_UNDEF if unused.

PHY reset, GPIO_UNDEF if unused.

Definition at line 659 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.

◆ routeloc1

uint32_t eth_conf_t::routeloc1

Pre-shifted bits for ETH->ROUTELOC1.

Definition at line 660 of file periph_cpu.h.

◆ speed

uint16_t eth_conf_t::speed

Default link speed (MII BMCR speed/duplex bits)

Speed selection.

Link speed selection.

Definition at line 661 of file periph_cpu.h.


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