HAL
ETH_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...

ETH_InitTypeDef struct

ETH Init Structure definition

Syntax

typedef struct {   uint32_t             AutoNegotiation;              uint32_t             Speed;                        uint32_t             DuplexMode;                   uint16_t             PhyAddress;                   uint8_t             *MACAddr;                      uint32_t             RxMode;                       uint32_t             ChecksumMode;                 uint32_t             MediaInterface;             } ETH_InitTypeDef;

Fields

DuplexMode

Selects the MAC duplex mode: Half-Duplex or Full-Duplex mode This parameter can be a value of ETH_Duplex_Mode. Read more...

PhyAddress

Ethernet PHY address. This parameter must be a number between Min_Data = 0 and Max_Data = 32. Read more...

MACAddr

MAC Address of used Hardware: must be pointer on an array of 6 bytes. Read more...

RxMode

Selects the Ethernet Rx mode: Polling mode, Interrupt mode. This parameter can be a value of ETH_Rx_Mode. Read more...

ChecksumMode

Selects if the checksum is check by hardware or by software. This parameter can be a value of ETH_Checksum_Mode. Read more...

MediaInterface

Selects the media-independent interface or the reduced media-independent interface. This parameter can be a value of ETH_Media_Interface. Read more...

AutoNegotiation

Selects or not the AutoNegotiation mode for the external PHY The AutoNegotiation allows an automatic setting of the Speed (10/100Mbps) and the mode (half/full-duplex). This parameter can be a value of ETH_AutoNegotiation. Read more...

Speed

Sets the Ethernet speed: 10/100 Mbps. This parameter can be a value of ETH_Speed. Read more...