lan8671_driver.c
Go to the documentation of this file.
Debugging facilities.
void lan8671WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8671_driver.c:344
void lan8671DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8671_driver.c:319
void lan8671ModifyMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t mask, uint16_t data)
Modify MMD register.
Definition: lan8671_driver.c:399
uint16_t lan8671ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8671_driver.c:293
void lan8671EventHandler(NetInterface *interface)
LAN8671 event handler.
Definition: lan8671_driver.c:221
error_t lan8671Init(NetInterface *interface)
LAN8671 PHY transceiver initialization.
Definition: lan8671_driver.c:60
void lan8671WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8671_driver.c:269
uint16_t lan8671ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8671_driver.c:371
__weak_func void lan8671InitHook(NetInterface *interface)
LAN8671 custom configuration.
Definition: lan8671_driver.c:136
LAN8671 10Base-T1S Ethernet PHY driver.
#define LAN8671_PLCA_BURST_BTMR_DEFAULT
Definition: lan8671_driver.h:318
#define LAN8671_MMDCTRL_FNCTN_DATA_NO_POST_INC
Definition: lan8671_driver.h:150
#define LAN8671_PLCA_BURST_MAXBC_DISABLED
Definition: lan8671_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