lan8670_driver.c
Go to the documentation of this file.
Debugging facilities.
void lan8670EventHandler(NetInterface *interface)
LAN8670 event handler.
Definition: lan8670_driver.c:221
__weak_func void lan8670InitHook(NetInterface *interface)
LAN8670 custom configuration.
Definition: lan8670_driver.c:136
void lan8670WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8670_driver.c:269
void lan8670WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8670_driver.c:344
error_t lan8670Init(NetInterface *interface)
LAN8670 PHY transceiver initialization.
Definition: lan8670_driver.c:60
uint16_t lan8670ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8670_driver.c:371
void lan8670DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8670_driver.c:319
uint16_t lan8670ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8670_driver.c:293
void lan8670ModifyMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t mask, uint16_t data)
Modify MMD register.
Definition: lan8670_driver.c:399
LAN8670 10Base-T1S Ethernet PHY driver.
#define LAN8670_PLCA_BURST_BTMR_DEFAULT
Definition: lan8670_driver.h:318
#define LAN8670_MMDCTRL_FNCTN_DATA_NO_POST_INC
Definition: lan8670_driver.h:150
#define LAN8670_PLCA_BURST_MAXBC_DISABLED
Definition: lan8670_driver.h:316
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