STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
Collaboration diagram for ETH frame settings:

Macros

#define ETH_MAX_PACKET_SIZE   1528U
 
#define ETH_HEADER   14U
 
#define ETH_CRC   4U
 
#define ETH_VLAN_TAG   4U
 
#define ETH_MIN_PAYLOAD   46U
 
#define ETH_MAX_PAYLOAD   1500U
 
#define ETH_JUMBO_FRAME_PAYLOAD   9000U
 

Detailed Description

Macro Definition Documentation

◆ ETH_MAX_PACKET_SIZE

#define ETH_MAX_PACKET_SIZE   1528U

#include <stm32f4xx_hal_eth.h>

ETH_HEADER + 2*VLAN_TAG + MAX_ETH_PAYLOAD + ETH_CRC

Definition at line 860 of file stm32f4xx_hal_eth.h.

◆ ETH_HEADER

#define ETH_HEADER   14U

#include <stm32f4xx_hal_eth.h>

6 byte Dest addr, 6 byte Src addr, 2 byte length/type

Definition at line 861 of file stm32f4xx_hal_eth.h.

◆ ETH_CRC

#define ETH_CRC   4U

#include <stm32f4xx_hal_eth.h>

Ethernet CRC

Definition at line 862 of file stm32f4xx_hal_eth.h.

◆ ETH_VLAN_TAG

#define ETH_VLAN_TAG   4U

#include <stm32f4xx_hal_eth.h>

optional 802.1q VLAN Tag

Definition at line 863 of file stm32f4xx_hal_eth.h.

◆ ETH_MIN_PAYLOAD

#define ETH_MIN_PAYLOAD   46U

#include <stm32f4xx_hal_eth.h>

Minimum Ethernet payload size

Definition at line 864 of file stm32f4xx_hal_eth.h.

◆ ETH_MAX_PAYLOAD

#define ETH_MAX_PAYLOAD   1500U

#include <stm32f4xx_hal_eth.h>

Maximum Ethernet payload size

Definition at line 865 of file stm32f4xx_hal_eth.h.

◆ ETH_JUMBO_FRAME_PAYLOAD

#define ETH_JUMBO_FRAME_PAYLOAD   9000U

#include <stm32f4xx_hal_eth.h>

Jumbo frame payload size

Definition at line 866 of file stm32f4xx_hal_eth.h.