| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
enet.c File Reference
`#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_T *pTXDescs, int32_t numTXDescs, IP_ENET_001_ENHRXDESC_T *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_T | TXDescs [ENET_NUM_TX_DESC]
static IP_ENET_001_ENHRXDESC_T | 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