#include <board.h>
#include <string.h>
#include "MiniIp.h"
Go to the source code of this file.
Detailed Description
This file contains all the specific code for the gmac example.
Definition in file main.c.
Define Documentation
#define AT24MAC_SERIAL_NUM_ADD 0x5F |
Slave address of twi_eeprom AT24MAC.
Definition at line 141 of file main.c.
#define BOARD_BASE_TWI_EEPROM TWIHS0 |
TWI0 base address for EEPROM device
Definition at line 151 of file main.c.
#define BOARD_ID_TWI_EEPROM ID_TWIHS0 |
TWI0 peripheral ID for EEPROM device
Definition at line 149 of file main.c.
#define BOARD_PINS_TWI_EEPROM PINS_TWI0 |
EEPROM Pins definition
Definition at line 147 of file main.c.
Page numbers of an AT24MAC402 chip
Definition at line 145 of file main.c.
#define GMAC_CAF_DISABLE 0 |
Enable/Disable CopyAllFrame
Definition at line 123 of file main.c.
#define GMAC_NBC_DISABLE 0 |
Enable/Disable NoBroadCast
Definition at line 127 of file main.c.
#define GMAC_RCV_OFFSET 0 |
GMAC packet processing offset
Definition at line 120 of file main.c.
#define GMAX_ARP_REQUEST 100 |
EK board sends out MAX_ARP_REQUEST ARP request and wants to get at least MIN_ARP_REPLY reply
Definition at line 132 of file main.c.
#define GMAX_TRY_LINK 500 |
Try to get link
Definition at line 136 of file main.c.
Page size of an AT24MAC402 chip (in bytes)
Definition at line 143 of file main.c.
TWI clock frequency in Hz.
Definition at line 139 of file main.c.
Function Documentation
TX descriptors list Gmac interrupt handler
Definition at line 184 of file main.c.
GMAC Application entry point.
- Returns:
- Unused (ANSI-C compatibility).
Definition at line 574 of file main.c.