lan8840_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:601
error_t lan8840Init(NetInterface *interface)
LAN8840 PHY transceiver initialization.
Definition: lan8840_driver.c:60
void lan8840WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8840_driver.c:276
#define LAN8840_MMDACR_FUNC_DATA_NO_POST_INC
Definition: lan8840_driver.h:495
__weak_func void lan8840InitHook(NetInterface *interface)
LAN8840 custom configuration.
Definition: lan8840_driver.c:113
LAN8840 Gigabit Ethernet PHY driver.
void lan8840WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8840_driver.c:351
void lan8840EventHandler(NetInterface *interface)
LAN8840 event handler.
Definition: lan8840_driver.c:198
void lan8840DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8840_driver.c:326
uint16_t lan8840ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8840_driver.c:378
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
uint16_t lan8840ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8840_driver.c:300
TCP/IP stack core.
#define LAN8840_TX_DLL_CTRL_BYPASS_TXDLL
Definition: lan8840_driver.h:766
Debugging facilities.
