STM32H735xx HAL User Manual
Data Fields
ETH_MACConfigTypeDef Struct Reference

ETH MAC Configuration Structure definition. More...

#include <stm32h7xx_hal_eth.h>

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 UnicastSlowProtocolPacketDetect
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 215 of file stm32h7xx_hal_eth.h.


Field Documentation

Enables or disables the Automatic MAC Pad/CRC Stripping.

Definition at line 231 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 261 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 253 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 257 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 220 of file stm32h7xx_hal_eth.h.

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

Enable or disables the CRC Checking for Received Packets.

Definition at line 273 of file stm32h7xx_hal_eth.h.

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

Enables or disables the CRC stripping for Type packets.

Definition at line 229 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 264 of file stm32h7xx_hal_eth.h.

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

Enables or disables Dropping of TCPIP Checksum Error Packets.

Definition at line 311 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 248 of file stm32h7xx_hal_eth.h.

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

Enable or disables the extended inter packet gap.

Definition at line 279 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 281 of file stm32h7xx_hal_eth.h.

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

Enables or disables forwarding Error Packets.

Definition at line 313 of file stm32h7xx_hal_eth.h.

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

Enables or disables forwarding Undersized Good Packets.

Definition at line 315 of file stm32h7xx_hal_eth.h.

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

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 275 of file stm32h7xx_hal_eth.h.

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

Enables or disables the Giant Packet Size Limit Control.

Definition at line 225 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 222 of file stm32h7xx_hal_eth.h.

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

Enables or disables Jabber timer on Tx path When enabled, the MAC allows no more then 2048 bytes to be sent. When disabled, the MAC can send up to 16384 bytes.

Definition at line 237 of file stm32h7xx_hal_eth.h.

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

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 241 of file stm32h7xx_hal_eth.h.

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

Enables or disables the loopback mode

Definition at line 251 of file stm32h7xx_hal_eth.h.

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

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 294 of file stm32h7xx_hal_eth.h.

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

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 289 of file stm32h7xx_hal_eth.h.

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

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 266 of file stm32h7xx_hal_eth.h.

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

Enable or disables the Programmable Watchdog.

Definition at line 284 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 302 of file stm32h7xx_hal_eth.h.

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

Enables or disables the Receive Own in Half Duplex mode.

Definition at line 255 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 308 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 259 of file stm32h7xx_hal_eth.h.

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

Enable or disables the Slow Protocol Detection.

Definition at line 271 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 217 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 245 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 227 of file stm32h7xx_hal_eth.h.

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

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 297 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 305 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 300 of file stm32h7xx_hal_eth.h.

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

Enable or disables the Detection of Slow Protocol Packets with unicast address.

Definition at line 269 of file stm32h7xx_hal_eth.h.

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

Enables or disables the Watchdog timer on Rx path When enabled, the MAC allows no more then 2048 bytes to be received. When disabled, the MAC can receive up to 16384 bytes.

Definition at line 233 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 286 of file stm32h7xx_hal_eth.h.

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

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

Definition at line 292 of file stm32h7xx_hal_eth.h.

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


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