lan8742_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
#define LAN8742_PSCSR_HCDSPEED_100BTX_FD
Definition: lan8742_driver.h:249
void lan8742EventHandler(NetInterface *interface)
LAN8742 event handler.
Definition: lan8742_driver.c:203
#define LAN8742_MMDACR_FUNC_DATA_NO_POST_INC
Definition: lan8742_driver.h:177
uint16_t lan8742ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8742_driver.c:307
#define LAN8742_PSCSR_HCDSPEED_10BT_HD
Definition: lan8742_driver.h:246
error_t lan8742Init(NetInterface *interface)
LAN8742 PHY transceiver initialization.
Definition: lan8742_driver.c:60
void lan8742WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8742_driver.c:283
void lan8742DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8742_driver.c:333
#define LAN8742_PSCSR_HCDSPEED_100BTX_HD
Definition: lan8742_driver.h:247
LAN8742 Ethernet PHY driver.
uint16_t lan8742ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8742_driver.c:385
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define LAN8742_PSCSR_HCDSPEED_10BT_FD
Definition: lan8742_driver.h:248
TCP/IP stack core.
void lan8742WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8742_driver.c:358
Debugging facilities.
__weak_func void lan8742InitHook(NetInterface *interface)
LAN8742 custom configuration.
Definition: lan8742_driver.c:125