LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
lpc_phy.h File Reference
#include "board.h"
#include "chip.h"

Go to the source code of this file.

Macros

#define PHY_LINK_ERROR   (1 << 0)
 
#define PHY_LINK_BUSY   (1 << 1)
 
#define PHY_LINK_CHANGED   (1 << 2)
 
#define PHY_LINK_CONNECTED   (1 << 3)
 
#define PHY_LINK_SPEED100   (1 << 4)
 
#define PHY_LINK_FULLDUPLX   (1 << 5)
 

Functions

uint32_t lpcPHYStsPoll (void)
 Phy status update state machine.
 
uint32_t lpc_phy_init (bool rmii, p_msDelay_func_t pDelayMsFunc)
 Initialize the PHY.