lan8741_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void lan8741WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8741_driver.c:350
LAN8741 Ethernet PHY driver.
__weak_func void lan8741InitHook(NetInterface *interface)
LAN8741 custom configuration.
Definition: lan8741_driver.c:117
#define LAN8741_PSCSR_HCDSPEED_100BTX_HD
Definition: lan8741_driver.h:230
uint16_t lan8741ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8741_driver.c:299
uint16_t lan8741ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8741_driver.c:377
void lan8741EventHandler(NetInterface *interface)
LAN8741 event handler.
Definition: lan8741_driver.c:195
void lan8741WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8741_driver.c:275
#define LAN8741_MMDACR_FUNC_DATA_NO_POST_INC
Definition: lan8741_driver.h:175
void lan8741DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8741_driver.c:325
#define LAN8741_PSCSR_HCDSPEED_100BTX_FD
Definition: lan8741_driver.h:232
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define LAN8741_PSCSR_HCDSPEED_10BT_HD
Definition: lan8741_driver.h:229
TCP/IP stack core.
#define LAN8741_PSCSR_HCDSPEED_10BT_FD
Definition: lan8741_driver.h:231
error_t lan8741Init(NetInterface *interface)
LAN8741 PHY transceiver initialization.
Definition: lan8741_driver.c:60
Debugging facilities.