lan8740_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
#define LAN8740_PSCSR_HCDSPEED_10BT_FD
Definition: lan8740_driver.h:260
LAN8740 Ethernet PHY driver.
uint16_t lan8740ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8740_driver.c:377
void lan8740DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8740_driver.c:325
void lan8740WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8740_driver.c:350
uint16_t lan8740ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8740_driver.c:299
__weak_func void lan8740InitHook(NetInterface *interface)
LAN8740 custom configuration.
Definition: lan8740_driver.c:117
#define LAN8740_MMDACR_FUNC_DATA_NO_POST_INC
Definition: lan8740_driver.h:186
void lan8740EventHandler(NetInterface *interface)
LAN8740 event handler.
Definition: lan8740_driver.c:195
void lan8740WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8740_driver.c:275
#define LAN8740_PSCSR_HCDSPEED_10BT_HD
Definition: lan8740_driver.h:258
error_t lan8740Init(NetInterface *interface)
LAN8740 PHY transceiver initialization.
Definition: lan8740_driver.c:60
#define LAN8740_PSCSR_HCDSPEED_100BTX_FD
Definition: lan8740_driver.h:261
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
#define LAN8740_PSCSR_HCDSPEED_100BTX_HD
Definition: lan8740_driver.h:259
Debugging facilities.