LPCOpen Platform for LPC18XX/43XX microcontrollers: C:/w/lpcopen_docs/software/lpc_core/lpc_chip/chip_18xx_43xx/enet_18xx_43xx.c File Reference

| LPCOpen Platform for LPC18XX/43XX microcontrollers 18XX43XX LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Functions | Variables
enet_18xx_43xx.c File Reference
`#include "chip.h"`

Go to the source code of this file.

## Functions
STATIC INLINE void | reset (LPC_ENET_T *pENET)
STATIC uint32_t | Chip_ENET_CalcMDCClock (void)
void | Chip_ENET_Init (LPC_ENET_T *pENET, uint32_t phyAddr)
| Initialize ethernet interface. More...
void | Chip_ENET_DeInit (LPC_ENET_T *pENET)
| De-initialize the ethernet interface. More...
void | Chip_ENET_SetupMII (LPC_ENET_T *pENET, uint32_t div, uint8_t addr)
| Sets up the PHY link clock divider and PHY address. More...
void | Chip_ENET_StartMIIWrite (LPC_ENET_T *pENET, uint8_t reg, uint16_t data)
| Starts a PHY write via the MII. More...
void | Chip_ENET_StartMIIRead (LPC_ENET_T *pENET, uint8_t reg)
| Starts a PHY read via the MII. More...
void | Chip_ENET_SetDuplex (LPC_ENET_T *pENET, bool full)
| Sets full or half duplex for the interface. More...
void | Chip_ENET_SetSpeed (LPC_ENET_T *pENET, bool speed100)
| Sets speed for the interface. More...

## Variables
STATIC uint32_t | phyCfg

## Function Documentation

STATIC uint32_t Chip_ENET_CalcMDCClock | ( | void |  | ) |

Definition at line 59 of file enet_18xx_43xx.c.

STATIC INLINE void reset | ( | LPC_ENET_T * | pENET | ) |

Definition at line 49 of file enet_18xx_43xx.c.

## Variable Documentation

STATIC uint32_t phyCfg

Definition at line 39 of file enet_18xx_43xx.c.