ARMEBS4  revision-26.06.2015
Data Fields
ETH_InitTypeDef Struct Reference

ETH MAC Init structure definition. More...

#include "C:/Programs/ARMEBS4/current/doc/eclipse-doc/ext/libheivs_stm32/include/stm32/stm32f4xx_eth.h"

Collaboration diagram for ETH_InitTypeDef:
Collaboration graph

Data Fields

uint32_t ETH_AutoNegotiation
 / * MAC More...
 
uint32_t ETH_Watchdog
 
uint32_t ETH_Jabber
 
uint32_t ETH_InterFrameGap
 
uint32_t ETH_CarrierSense
 
uint32_t ETH_Speed
 
uint32_t ETH_ReceiveOwn
 
uint32_t ETH_LoopbackMode
 
uint32_t ETH_Mode
 
uint32_t ETH_ChecksumOffload
 
uint32_t ETH_RetryTransmission
 
uint32_t ETH_AutomaticPadCRCStrip
 
uint32_t ETH_BackOffLimit
 
uint32_t ETH_DeferralCheck
 
uint32_t ETH_ReceiveAll
 
uint32_t ETH_SourceAddrFilter
 
uint32_t ETH_PassControlFrames
 
uint32_t ETH_BroadcastFramesReception
 
uint32_t ETH_DestinationAddrFilter
 
uint32_t ETH_PromiscuousMode
 
uint32_t ETH_MulticastFramesFilter
 
uint32_t ETH_UnicastFramesFilter
 
uint32_t ETH_HashTableHigh
 
uint32_t ETH_HashTableLow
 
uint32_t ETH_PauseTime
 
uint32_t ETH_ZeroQuantaPause
 
uint32_t ETH_PauseLowThreshold
 
uint32_t ETH_UnicastPauseFrameDetect
 
uint32_t ETH_ReceiveFlowControl
 
uint32_t ETH_TransmitFlowControl
 
uint32_t ETH_VLANTagComparison
 
uint32_t ETH_VLANTagIdentifier
 
uint32_t ETH_DropTCPIPChecksumErrorFrame
 / * DMA More...
 
uint32_t ETH_ReceiveStoreForward
 
uint32_t ETH_FlushReceivedFrame
 
uint32_t ETH_TransmitStoreForward
 
uint32_t ETH_TransmitThresholdControl
 
uint32_t ETH_ForwardErrorFrames
 
uint32_t ETH_ForwardUndersizedGoodFrames
 
uint32_t ETH_ReceiveThresholdControl
 
uint32_t ETH_SecondFrameOperate
 
uint32_t ETH_AddressAlignedBeats
 
uint32_t ETH_FixedBurst
 
uint32_t ETH_RxDMABurstLength
 
uint32_t ETH_TxDMABurstLength
 
uint32_t ETH_DescriptorSkipLength
 
uint32_t ETH_DMAArbitration
 

Detailed Description

ETH MAC Init structure definition.

Note
The user should not configure all the ETH_InitTypeDef structure's fields. By calling the ETH_StructInit function the structure�s fields are set to their default values. Only the parameters that will be set to a non-default value should be configured.

Definition at line 56 of file stm32f4xx_eth.h.

Field Documentation

uint32_t ETH_InitTypeDef::ETH_AutoNegotiation

/ * MAC

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

Definition at line 60 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_Watchdog

Selects or not the Watchdog timer When enabled, the MAC allows no more then 2048 bytes to be received. When disabled, the MAC can receive up to 16384 bytes. This parameter can be a value of ETH_watchdog

Definition at line 65 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_Jabber

Selects or not Jabber timer When enabled, the MAC allows no more then 2048 bytes to be sent. When disabled, the MAC can send up to 16384 bytes. This parameter can be a value of ETH_Jabber

Definition at line 70 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_InterFrameGap

Selects the minimum IFG between frames during transmission This parameter can be a value of ETH_Inter_Frame_Gap

Definition at line 75 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_CarrierSense

Selects or not the Carrier Sense This parameter can be a value of ETH_Carrier_Sense

Definition at line 78 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_Speed

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

Definition at line 81 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ReceiveOwn

Selects or not the ReceiveOwn ReceiveOwn allows the reception of frames when the TX_EN signal is asserted in Half-Duplex mode This parameter can be a value of ETH_Receive_Own

Definition at line 84 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_LoopbackMode

Selects or not the internal MAC MII Loopback mode This parameter can be a value of ETH_Loop_Back_Mode

Definition at line 89 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_Mode

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

Definition at line 92 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ChecksumOffload

Selects or not the IPv4 checksum checking for received frame payloads' TCP/UDP/ICMP headers. This parameter can be a value of ETH_Checksum_Offload

Definition at line 95 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_RetryTransmission

Selects or not the MAC attempt retries transmission, based on the settings of BL, when a collision occurs (Half-Duplex mode) This parameter can be a value of ETH_Retry_Transmission

Definition at line 98 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_AutomaticPadCRCStrip

Selects or not the Automatic MAC Pad/CRC Stripping This parameter can be a value of ETH_Automatic_Pad_CRC_Strip

Definition at line 102 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_BackOffLimit

Selects the BackOff limit value This parameter can be a value of ETH_Back_Off_Limit

Definition at line 105 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_DeferralCheck

Selects or not the deferral check function (Half-Duplex mode) This parameter can be a value of ETH_Deferral_Check

Definition at line 108 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ReceiveAll

Selects or not all frames reception by the MAC (No filtering) This parameter can be a value of ETH_Receive_All

Definition at line 111 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_SourceAddrFilter

Selects the Source Address Filter mode This parameter can be a value of ETH_Source_Addr_Filter

Definition at line 114 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_PassControlFrames

Sets the forwarding mode of the control frames (including unicast and multicast PAUSE frames) This parameter can be a value of ETH_Pass_Control_Frames

Definition at line 117 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_BroadcastFramesReception

Selects or not the reception of Broadcast Frames This parameter can be a value of ETH_Broadcast_Frames_Reception

Definition at line 120 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_DestinationAddrFilter

Sets the destination filter mode for both unicast and multicast frames This parameter can be a value of ETH_Destination_Addr_Filter

Definition at line 123 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_PromiscuousMode

Selects or not the Promiscuous Mode This parameter can be a value of ETH_Promiscuous_Mode

Definition at line 126 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_MulticastFramesFilter

Selects the Multicast Frames filter mode: None/HashTableFilter/PerfectFilter/PerfectHashTableFilter This parameter can be a value of ETH_Multicast_Frames_Filter

Definition at line 129 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_UnicastFramesFilter

Selects the Unicast Frames filter mode: HashTableFilter/PerfectFilter/PerfectHashTableFilter This parameter can be a value of ETH_Unicast_Frames_Filter

Definition at line 132 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_HashTableHigh

This field holds the higher 32 bits of Hash table.

Definition at line 135 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_HashTableLow

This field holds the lower 32 bits of Hash table.

Definition at line 137 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_PauseTime

This field holds the value to be used in the Pause Time field in the transmit control frame

Definition at line 139 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ZeroQuantaPause

Selects or not the automatic generation of Zero-Quanta Pause Control frames This parameter can be a value of ETH_Zero_Quanta_Pause

Definition at line 142 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_PauseLowThreshold

This field configures the threshold of the PAUSE to be checked for automatic retransmission of PAUSE Frame This parameter can be a value of ETH_Pause_Low_Threshold

Definition at line 145 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_UnicastPauseFrameDetect

Selects or not the MAC detection of the Pause frames (with MAC Address0 unicast address and unique multicast address) This parameter can be a value of ETH_Unicast_Pause_Frame_Detect

Definition at line 149 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ReceiveFlowControl

Enables or disables the MAC to decode the received Pause frame and disable its transmitter for a specified time (Pause Time) This parameter can be a value of ETH_Receive_Flow_Control

Definition at line 153 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_TransmitFlowControl

Enables or disables the MAC to transmit Pause frames (Full-Duplex mode) or the MAC back-pressure operation (Half-Duplex mode) This parameter can be a value of ETH_Transmit_Flow_Control

Definition at line 157 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_VLANTagComparison

Selects the 12-bit VLAN identifier or the complete 16-bit VLAN tag for comparison and filtering This parameter can be a value of ETH_VLAN_Tag_Comparison

Definition at line 161 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_VLANTagIdentifier

Holds the VLAN tag identifier for receive frames

Definition at line 165 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_DropTCPIPChecksumErrorFrame

/ * DMA

Selects or not the Dropping of TCP/IP Checksum Error Frames This parameter can be a value of ETH_Drop_TCP_IP_Checksum_Error_Frame

Definition at line 171 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ReceiveStoreForward

Enables or disables the Receive store and forward mode This parameter can be a value of ETH_Receive_Store_Forward

Definition at line 174 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_FlushReceivedFrame

Enables or disables the flushing of received frames This parameter can be a value of ETH_Flush_Received_Frame

Definition at line 177 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_TransmitStoreForward

Enables or disables Transmit store and forward mode This parameter can be a value of ETH_Transmit_Store_Forward

Definition at line 180 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_TransmitThresholdControl

Selects or not the Transmit Threshold Control This parameter can be a value of ETH_Transmit_Threshold_Control

Definition at line 183 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ForwardErrorFrames

Selects or not the forward to the DMA of erroneous frames This parameter can be a value of ETH_Forward_Error_Frames

Definition at line 186 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ForwardUndersizedGoodFrames

Enables or disables the Rx FIFO to forward Undersized frames (frames with no Error and length less than 64 bytes) including pad-bytes and CRC) This parameter can be a value of ETH_Forward_Undersized_Good_Frames

Definition at line 189 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_ReceiveThresholdControl

Selects the threshold level of the Receive FIFO This parameter can be a value of ETH_Receive_Threshold_Control

Definition at line 193 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_SecondFrameOperate

Selects or not the Operate on second frame mode, which allows the DMA to process a second frame of Transmit data even before obtaining the status for the first frame. This parameter can be a value of ETH_Second_Frame_Operate

Definition at line 196 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_AddressAlignedBeats

Enables or disables the Address Aligned Beats This parameter can be a value of ETH_Address_Aligned_Beats

Definition at line 200 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_FixedBurst

Enables or disables the AHB Master interface fixed burst transfers This parameter can be a value of ETH_Fixed_Burst

Definition at line 203 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_RxDMABurstLength

Indicates the maximum number of beats to be transferred in one Rx DMA transaction This parameter can be a value of ETH_Rx_DMA_Burst_Length

Definition at line 206 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_TxDMABurstLength

Indicates the maximum number of beats to be transferred in one Tx DMA transaction This parameter can be a value of ETH_Tx_DMA_Burst_Length

Definition at line 209 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_DescriptorSkipLength

Specifies the number of word to skip between two unchained descriptors (Ring mode)

Definition at line 212 of file stm32f4xx_eth.h.

uint32_t ETH_InitTypeDef::ETH_DMAArbitration

Selects the DMA Tx/Rx arbitration This parameter can be a value of ETH_DMA_Arbitration

Definition at line 214 of file stm32f4xx_eth.h.