lan8672_driver.c
Go to the documentation of this file.
Debugging facilities.
void lan8672EventHandler(NetInterface *interface)
LAN8672 event handler.
Definition: lan8672_driver.c:221
error_t lan8672Init(NetInterface *interface)
LAN8672 PHY transceiver initialization.
Definition: lan8672_driver.c:60
uint16_t lan8672ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8672_driver.c:293
void lan8672WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8672_driver.c:269
void lan8672ModifyMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t mask, uint16_t data)
Modify MMD register.
Definition: lan8672_driver.c:399
uint16_t lan8672ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: lan8672_driver.c:371
void lan8672WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: lan8672_driver.c:344
void lan8672DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8672_driver.c:319
__weak_func void lan8672InitHook(NetInterface *interface)
LAN8672 custom configuration.
Definition: lan8672_driver.c:136
LAN8672 10Base-T1S Ethernet PHY driver.
#define LAN8672_PLCA_BURST_BTMR_DEFAULT
Definition: lan8672_driver.h:318
#define LAN8672_PLCA_BURST_MAXBC_DISABLED
Definition: lan8672_driver.h:316
#define LAN8672_MMDCTRL_FNCTN_DATA_NO_POST_INC
Definition: lan8672_driver.h:150
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