STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
ETH_MACConfigTypeDef Struct Reference

ETH MAC Configuration Structure definition. More...

#include <stm32f4xx_hal_eth.h>

Collaboration diagram for ETH_MACConfigTypeDef:

Data Fields

uint32_t SourceAddrControl
 
FunctionalState ChecksumOffload
 
uint32_t InterPacketGapVal
 
FunctionalState GiantPacketSizeLimitControl
 
FunctionalState Support2KPacket
 
FunctionalState CRCStripTypePacket
 
FunctionalState AutomaticPadCRCStrip
 
FunctionalState Watchdog
 
FunctionalState Jabber
 
FunctionalState JumboPacket
 
uint32_t Speed
 
uint32_t DuplexMode
 
FunctionalState LoopbackMode
 
FunctionalState CarrierSenseBeforeTransmit
 
FunctionalState ReceiveOwn
 
FunctionalState CarrierSenseDuringTransmit
 
FunctionalState RetryTransmission
 
uint32_t BackOffLimit
 
FunctionalState DeferralCheck
 
uint32_t PreambleLength
 
FunctionalState SlowProtocolDetect
 
FunctionalState CRCCheckingRxPackets
 
uint32_t GiantPacketSizeLimit
 
FunctionalState ExtendedInterPacketGap
 
uint32_t ExtendedInterPacketGapVal
 
FunctionalState ProgrammableWatchdog
 
uint32_t WatchdogTimeout
 
uint32_t PauseTime
 
FunctionalState ZeroQuantaPause
 
uint32_t PauseLowThreshold
 
FunctionalState TransmitFlowControl
 
FunctionalState UnicastPausePacketDetect
 
FunctionalState ReceiveFlowControl
 
uint32_t TransmitQueueMode
 
uint32_t ReceiveQueueMode
 
FunctionalState DropTCPIPChecksumErrorPacket
 
FunctionalState ForwardRxErrorPacket
 
FunctionalState ForwardRxUndersizedGoodPacket
 

Detailed Description

ETH MAC Configuration Structure definition.

Definition at line 223 of file stm32f4xx_hal_eth.h.

Field Documentation

◆ SourceAddrControl

uint32_t ETH_MACConfigTypeDef::SourceAddrControl

Selects the Source Address Insertion or Replacement Control. This parameter can be a value of ETH Source Addr Control

Definition at line 226 of file stm32f4xx_hal_eth.h.

◆ ChecksumOffload

FunctionalState ETH_MACConfigTypeDef::ChecksumOffload

Enables or Disable the checksum checking for received packet payloads TCP, UDP or ICMP headers

Definition at line 230 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ InterPacketGapVal

uint32_t ETH_MACConfigTypeDef::InterPacketGapVal

Sets the minimum IPG between Packet during transmission. This parameter can be a value of ETH_Inter_Packet_Gap

Definition at line 232 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ GiantPacketSizeLimitControl

FunctionalState ETH_MACConfigTypeDef::GiantPacketSizeLimitControl

Enables or disables the Giant Packet Size Limit Control.

Definition at line 235 of file stm32f4xx_hal_eth.h.

◆ Support2KPacket

FunctionalState ETH_MACConfigTypeDef::Support2KPacket

Enables or disables the IEEE 802.3as Support for 2K length Packets

Definition at line 237 of file stm32f4xx_hal_eth.h.

◆ CRCStripTypePacket

FunctionalState ETH_MACConfigTypeDef::CRCStripTypePacket

Enables or disables the CRC stripping for Type packets.

Definition at line 239 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ AutomaticPadCRCStrip

FunctionalState ETH_MACConfigTypeDef::AutomaticPadCRCStrip

Enables or disables the Automatic MAC Pad/CRC Stripping.

Definition at line 241 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ Watchdog

FunctionalState ETH_MACConfigTypeDef::Watchdog

Enables or disables the Watchdog timer on Rx path.

Definition at line 243 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ Jabber

FunctionalState ETH_MACConfigTypeDef::Jabber

Enables or disables Jabber timer on Tx path.

Definition at line 245 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ JumboPacket

FunctionalState ETH_MACConfigTypeDef::JumboPacket

Enables or disables receiving Jumbo Packet When enabled, the MAC allows jumbo packets of 9,018 bytes without reporting a giant packet error

Definition at line 247 of file stm32f4xx_hal_eth.h.

◆ Speed

uint32_t ETH_MACConfigTypeDef::Speed

Sets the Ethernet speed: 10/100 Mbps. This parameter can be a value of ETH Speed

Definition at line 251 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ DuplexMode

uint32_t ETH_MACConfigTypeDef::DuplexMode

Selects the MAC duplex mode: Half-Duplex or Full-Duplex mode This parameter can be a value of ETH Duplex Mode

Definition at line 254 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ LoopbackMode

FunctionalState ETH_MACConfigTypeDef::LoopbackMode

Enables or disables the loopback mode

Definition at line 257 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ CarrierSenseBeforeTransmit

FunctionalState ETH_MACConfigTypeDef::CarrierSenseBeforeTransmit

Enables or disables the Carrier Sense Before Transmission in Full Duplex Mode.

Definition at line 260 of file stm32f4xx_hal_eth.h.

◆ ReceiveOwn

FunctionalState ETH_MACConfigTypeDef::ReceiveOwn

Enables or disables the Receive Own in Half Duplex mode.

Definition at line 262 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ CarrierSenseDuringTransmit

FunctionalState ETH_MACConfigTypeDef::CarrierSenseDuringTransmit

Enables or disables the Carrier Sense During Transmission in the Half Duplex mode

Definition at line 265 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ RetryTransmission

FunctionalState ETH_MACConfigTypeDef::RetryTransmission

Enables or disables the MAC retry transmission, when a collision occurs in Half Duplex mode.

Definition at line 268 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ BackOffLimit

uint32_t ETH_MACConfigTypeDef::BackOffLimit

Selects the BackOff limit value. This parameter can be a value of ETH Back Off Limit

Definition at line 270 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ DeferralCheck

FunctionalState ETH_MACConfigTypeDef::DeferralCheck

Enables or disables the deferral check function in Half Duplex mode.

Definition at line 274 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ PreambleLength

uint32_t ETH_MACConfigTypeDef::PreambleLength

Selects or not the Preamble Length for Transmit packets (Full Duplex mode). This parameter can be a value of ETH_Preamble_Length

Definition at line 277 of file stm32f4xx_hal_eth.h.

◆ SlowProtocolDetect

FunctionalState ETH_MACConfigTypeDef::SlowProtocolDetect

Enable or disables the Slow Protocol Detection.

Definition at line 280 of file stm32f4xx_hal_eth.h.

◆ CRCCheckingRxPackets

FunctionalState ETH_MACConfigTypeDef::CRCCheckingRxPackets

Enable or disables the CRC Checking for Received Packets.

Definition at line 282 of file stm32f4xx_hal_eth.h.

◆ GiantPacketSizeLimit

uint32_t ETH_MACConfigTypeDef::GiantPacketSizeLimit

Specifies the packet size that the MAC will declare it as Giant, If it's size is greater than the value programmed in this field in units of bytes This parameter must be a number between Min_Data = 0x618 (1518 byte) and Max_Data = 0x3FFF (32 Kbyte).

Definition at line 285 of file stm32f4xx_hal_eth.h.

◆ ExtendedInterPacketGap

FunctionalState ETH_MACConfigTypeDef::ExtendedInterPacketGap

Enable or disables the extended inter packet gap.

Definition at line 290 of file stm32f4xx_hal_eth.h.

◆ ExtendedInterPacketGapVal

uint32_t ETH_MACConfigTypeDef::ExtendedInterPacketGapVal

Sets the Extended IPG between Packet during transmission. This parameter can be a value from 0x0 to 0xFF

Definition at line 292 of file stm32f4xx_hal_eth.h.

◆ ProgrammableWatchdog

FunctionalState ETH_MACConfigTypeDef::ProgrammableWatchdog

Enable or disables the Programmable Watchdog.

Definition at line 295 of file stm32f4xx_hal_eth.h.

◆ WatchdogTimeout

uint32_t ETH_MACConfigTypeDef::WatchdogTimeout

This field is used as watchdog timeout for a received packet This parameter can be a value of ETH_Watchdog_Timeout

Definition at line 297 of file stm32f4xx_hal_eth.h.

◆ PauseTime

uint32_t ETH_MACConfigTypeDef::PauseTime

This field holds the value to be used in the Pause Time field in the transmit control packet. This parameter must be a number between Min_Data = 0x0 and Max_Data = 0xFFFF.

Definition at line 301 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ ZeroQuantaPause

FunctionalState ETH_MACConfigTypeDef::ZeroQuantaPause

Enable or disables the automatic generation of Zero Quanta Pause Control packets.

Definition at line 306 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ PauseLowThreshold

uint32_t ETH_MACConfigTypeDef::PauseLowThreshold

This field configures the threshold of the PAUSE to be checked for automatic retransmission of PAUSE Packet. This parameter can be a value of ETH Pause Low Threshold

Definition at line 309 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ TransmitFlowControl

FunctionalState ETH_MACConfigTypeDef::TransmitFlowControl

Enables or disables the MAC to transmit Pause packets in Full Duplex mode or the MAC back pressure operation in Half Duplex mode

Definition at line 313 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ UnicastPausePacketDetect

FunctionalState ETH_MACConfigTypeDef::UnicastPausePacketDetect

Enables or disables the MAC to detect Pause packets with unicast address of the station

Definition at line 317 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ ReceiveFlowControl

FunctionalState ETH_MACConfigTypeDef::ReceiveFlowControl

Enables or disables the MAC to decodes the received Pause packet and disables its transmitter for a specified (Pause) time

Definition at line 319 of file stm32f4xx_hal_eth.h.

Referenced by ETH_MACDMAConfig(), ETH_SetMACConfig(), and HAL_ETH_GetMACConfig().

◆ TransmitQueueMode

uint32_t ETH_MACConfigTypeDef::TransmitQueueMode

Specifies the Transmit Queue operating mode. This parameter can be a value of ETH Transmit Mode

Definition at line 322 of file stm32f4xx_hal_eth.h.

◆ ReceiveQueueMode

uint32_t ETH_MACConfigTypeDef::ReceiveQueueMode

Specifies the Receive Queue operating mode. This parameter can be a value of ETH Receive Mode

Definition at line 325 of file stm32f4xx_hal_eth.h.

◆ DropTCPIPChecksumErrorPacket

FunctionalState ETH_MACConfigTypeDef::DropTCPIPChecksumErrorPacket

Enables or disables Dropping of TCPIP Checksum Error Packets.

Definition at line 328 of file stm32f4xx_hal_eth.h.

◆ ForwardRxErrorPacket

FunctionalState ETH_MACConfigTypeDef::ForwardRxErrorPacket

Enables or disables forwarding Error Packets.

Definition at line 330 of file stm32f4xx_hal_eth.h.

◆ ForwardRxUndersizedGoodPacket

FunctionalState ETH_MACConfigTypeDef::ForwardRxUndersizedGoodPacket

Enables or disables forwarding Undersized Good Packets.

Definition at line 332 of file stm32f4xx_hal_eth.h.


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