Skip to main content

Module eth

Module eth 

Source
Expand description

Ethernet (ETH)

Structs§

Ethernet
Ethernet MAC driver.
GenericPhy
Generic PHY driver that works with IEEE 802.3 compliant PHYs.
InternalPhy
Driver for the CH32V307 built-in 10M PHY at SMI address 1.
InterruptHandler
PacketQueue
Static storage for DMA descriptors and packet buffers.
RDes
A single RX DMA descriptor (4 x 32-bit words).
RDesRing
An RX DMA descriptor ring.
RmiiDataPins
Pins for the default RMII mapping without MDIO and MDC, consumed and configured by Ethernet::new_rmii_without_smi.
RmiiPins
Pins for the default RMII mapping, consumed and configured by Ethernet::new_rmii.
RxToken
Token for receiving a single packet from the DMA ring.
Smi
Station Management Interface for MII PHY register access.
Stats
Counts kept by the driver since initialization, wrapping.
TDes
A single TX DMA descriptor (4 x 32-bit words).
TDesRing
A TX DMA descriptor ring.
TxToken
Token for transmitting a single packet via the DMA ring.

Enums§

InitError
An error while initializing the Ethernet MAC or PHY.
SmiError
An error during a PHY management transaction.

Traits§

CrsDvPin
Instance
MdcPin
MdioPin
Phy
Trait for Ethernet PHY drivers.
RefClkPin
Rxd0Pin
Rxd1Pin
TxEnPin
Txd0Pin
Txd1Pin