lan8670_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
__weak_func void lan8670InitHook(NetInterface *interface)
LAN8670 custom configuration.
Definition: lan8670_driver.c:119
#define LAN8670_MMDCTRL_FNCTN_DATA_NO_POST_INC
Definition: lan8670_driver.h:150
void lan8670ModifyMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t mask, uint16_t data)
Modify MMD register.
Definition: lan8670_driver.c:398
#define LAN8670_PLCA_BURST_BTMR_DEFAULT
Definition: lan8670_driver.h:318
void lan8670WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8670_driver.c:268
uint16_t lan8670ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8670_driver.c:292
LAN8670 10Base-T1S Ethernet PHY driver.
uint16_t lan8670ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8670_driver.c:370
void lan8670EventHandler(NetInterface *interface)
LAN8670 event handler.
Definition: lan8670_driver.c:220
#define LAN8670_PLCA_BURST_MAXBC_DISABLED
Definition: lan8670_driver.h:316
void lan8670WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8670_driver.c:343
error_t lan8670Init(NetInterface *interface)
LAN8670 PHY transceiver initialization.
Definition: lan8670_driver.c:60
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void lan8670DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8670_driver.c:318
TCP/IP stack core.
Debugging facilities.