Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MQTT_Hello MQTT_HelloENC28J60
enc28j60_emac_config.h
00001 /* 00002 * enc28j60_emac_config.h 00003 * 00004 * Created on: 27.08.2019 00005 * Author: tobias 00006 * 00007 * Modified by Zoltan Hudak 00008 * 00009 */ 00010 00011 #ifndef ENC28J60_EMAC_CONFIG_H_ 00012 #define ENC28J60_EMAC_CONFIG_H_ 00013 00014 /* 00015 * ENC28J60 receive buffer size in kylobytes 00016 */ 00017 #define ENC28J60_ETH_RXBUF_SIZE_KB 6U 00018 #define ENC28J60_HWADDR_SIZE 6U 00019 #define ENC28J60_BUFF_ALIGNMENT 4U 00020 00021 /* 00022 * Maximum Transfer Unit 00023 * The IEEE 802.3 specification limits the data portion of the 802.3 frame 00024 * to a minimum of 46 and a maximum of 1522 bytes, this is on L2 level. 00025 */ 00026 #define ENC28J60_ETH_MTU_SIZE 1500U 00027 #define ENC28J60_ETH_IF_NAME "enc28j60" 00028 00029 /** \brief Defines for receiver thread */ 00030 #define LINK_STATUS_TASK_PERIOD_MS 200ms 00031 #define RECEIVE_TASK_PERIOD_MS 20ms 00032 #define PHY_STATE_LINK_DOWN false 00033 #define PHY_STATE_LINK_UP true 00034 #define CRC_LENGTH_BYTES 4U 00035 00036 #endif /* ENC28J60_EMAC_CONFIG_H_ */
Generated on Wed Jul 13 2022 10:47:04 by
1.7.2