![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "enet_001.h"Go to the source code of this file.
Functions | |
| void | IP_ENET_Reset (IP_ENET_001_T *pENET) |
| Resets the ethernet interface. | |
| void | IP_ENET_SetADDR (IP_ENET_001_T *pENET, const uint8_t *macAddr) |
| Sets the address of the interface. | |
| void | IP_ENET_Init (IP_ENET_001_T *pENET) |
| Initialize ethernet interface. | |
| void | IP_ENET_SetupMII (IP_ENET_001_T *pENET, uint32_t div, uint8_t addr) |
| Sets up the PHY link clock divider and PHY address. | |
| void | IP_ENET_DeInit (IP_ENET_001_T *pENET) |
| De-initialize the ethernet interface. | |
| void | IP_ENET_StartMIIWrite (IP_ENET_001_T *pENET, uint8_t reg, uint16_t data) |
| Starts a PHY write via the MII. | |
| void | IP_ENET_StartMIIRead (IP_ENET_001_T *pENET, uint8_t reg) |
| Starts a PHY read via the MII. | |
| bool | IP_ENET_IsMIIBusy (IP_ENET_001_T *pENET) |
| Returns MII link (PHY) busy status. | |
| void | IP_ENET_SetDuplex (IP_ENET_001_T *pENET, bool full) |
| Sets full or half duplex for the interface. | |
| void | IP_ENET_SetSpeed (IP_ENET_001_T *pENET, bool speed100) |
| Sets speed for the interface. | |
| void | IP_ENET_InitDescriptors (IP_ENET_001_T *pENET, IP_ENET_001_ENHTXDESC_T *pTXDescs, IP_ENET_001_ENHRXDESC_T *pRXDescs) |
| Configures the initial ethernet descriptors. | |
Variables | |
| STATIC uint32_t | phyCfg |
Definition at line 39 of file enet_001.c.