lan8841_driver.c
Go to the documentation of this file.
Debugging facilities.
uint16_t lan8841ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8841_driver.c:300
void lan8841DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8841_driver.c:326
void lan8841EventHandler(NetInterface *interface)
LAN8841 event handler.
Definition: lan8841_driver.c:198
uint16_t lan8841ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8841_driver.c:378
__weak_func void lan8841InitHook(NetInterface *interface)
LAN8841 custom configuration.
Definition: lan8841_driver.c:113
error_t lan8841Init(NetInterface *interface)
LAN8841 PHY transceiver initialization.
Definition: lan8841_driver.c:60
void lan8841WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8841_driver.c:351
void lan8841WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8841_driver.c:276
LAN8841 Gigabit Ethernet PHY driver.
#define LAN8841_MMDACR_FUNC_DATA_NO_POST_INC
Definition: lan8841_driver.h:494
#define LAN8841_TX_DLL_CTRL_BYPASS_TXDLL
Definition: lan8841_driver.h:672
TCP/IP stack core.
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:548
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202