![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "board.h"
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Macros | |
#define | ENET_NUM_TX_DESC 4 |
#define | ENET_NUM_RX_DESC 4 |
Functions | |
static void | localMsDelay (uint32_t ms) |
static __INLINE int32_t | incIndex (int32_t index, int32_t max) |
static void | InitDescriptors (IP_ENET_001_ENHTXDESC_Type *pTXDescs, int32_t numTXDescs, IP_ENET_001_ENHRXDESC_Type *pRXDescs, int32_t numRXDescs) |
static void | ENET_RXQueue (void *buffer, int32_t bytes) |
static void * | ENET_RXGet (int32_t *bytes) |
static void | ENET_TXQueue (void *buffer, int32_t bytes) |
static void * | ENET_TXBuffClaim (void) |
void | ETH_IRQHandler (void) |
Handle interrupt from ethernet. | |
int | main (void) |
main routine for ENET example | |
Variables | |
static IP_ENET_001_ENHTXDESC_Type | TXDescs [ENET_NUM_TX_DESC] |
static IP_ENET_001_ENHRXDESC_Type | RXDescs [ENET_NUM_RX_DESC] |
static uint8_t | TXBuffer [ENET_NUM_TX_DESC][EMAC_ETH_MAX_FLEN] |
static uint8_t | RXBuffer [ENET_NUM_RX_DESC][EMAC_ETH_MAX_FLEN] |
static int32_t | rxFill |
static int32_t | rxGet |
static int32_t | rxAvail |
static int32_t | rxNumDescs |
static int32_t | txFill |
static int32_t | txGet |
static int32_t | txUsed |
static int32_t | txNumDescs |