STM32F439xx HAL User Manual
|
Defines | |
#define | ETH_MAX_PACKET_SIZE 1524U |
#define | ETH_HEADER 14U |
#define | ETH_CRC 4U |
#define | ETH_EXTRA 2U |
#define | ETH_VLAN_TAG 4U |
#define | ETH_MIN_ETH_PAYLOAD 46U |
#define | ETH_MAX_ETH_PAYLOAD 1500U |
#define | ETH_JUMBO_FRAME_PAYLOAD 9000U |
#define | ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE |
#define | ETH_RXBUFNB 5U /* 5 Rx buffers of size ETH_RX_BUF_SIZE */ |
#define | ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE |
#define | ETH_TXBUFNB 5U /* 5 Tx buffers of size ETH_TX_BUF_SIZE */ |
#define ETH_CRC 4U |
Ethernet CRC
Definition at line 661 of file stm32f4xx_hal_eth.h.
#define ETH_EXTRA 2U |
Extra bytes in some cases
Definition at line 662 of file stm32f4xx_hal_eth.h.
#define ETH_HEADER 14U |
6 byte Dest addr, 6 byte Src addr, 2 byte length/type
Definition at line 660 of file stm32f4xx_hal_eth.h.
#define ETH_JUMBO_FRAME_PAYLOAD 9000U |
Jumbo frame payload size
Definition at line 666 of file stm32f4xx_hal_eth.h.
#define ETH_MAX_ETH_PAYLOAD 1500U |
Maximum Ethernet payload size
Definition at line 665 of file stm32f4xx_hal_eth.h.
#define ETH_MAX_PACKET_SIZE 1524U |
ETH_HEADER + ETH_EXTRA + ETH_VLAN_TAG + ETH_MAX_ETH_PAYLOAD + ETH_CRC
Definition at line 659 of file stm32f4xx_hal_eth.h.
#define ETH_MIN_ETH_PAYLOAD 46U |
Minimum Ethernet payload size
Definition at line 664 of file stm32f4xx_hal_eth.h.
#define ETH_RX_BUF_SIZE ETH_MAX_PACKET_SIZE |
Definition at line 686 of file stm32f4xx_hal_eth.h.
#define ETH_RXBUFNB 5U /* 5 Rx buffers of size ETH_RX_BUF_SIZE */ |
Definition at line 691 of file stm32f4xx_hal_eth.h.
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE |
Definition at line 713 of file stm32f4xx_hal_eth.h.
#define ETH_TXBUFNB 5U /* 5 Tx buffers of size ETH_TX_BUF_SIZE */ |
Definition at line 718 of file stm32f4xx_hal_eth.h.
#define ETH_VLAN_TAG 4U |
optional 802.1q VLAN Tag
Definition at line 663 of file stm32f4xx_hal_eth.h.