ksz9031_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void ksz9031WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: ksz9031_driver.c:363
uint16_t ksz9031ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ksz9031_driver.c:312
void ksz9031EventHandler(NetInterface *interface)
KSZ9031 event handler.
Definition: ksz9031_driver.c:210
#define KSZ9031_COMMON_CTRL_LED_MODE_OVERRIDE
Definition: ksz9031_driver.h:281
KSZ9031 Gigabit Ethernet PHY driver.
__weak_func void ksz9031InitHook(NetInterface *interface)
KSZ9031 custom configuration.
Definition: ksz9031_driver.c:132
error_t ksz9031Init(NetInterface *interface)
KSZ9031 PHY transceiver initialization.
Definition: ksz9031_driver.c:60
#define KSZ9031_AN_FLP_BURST_TRANSMIT_LO
Definition: ksz9031_driver.h:68
#define KSZ9031_AN_FLP_BURST_TRANSMIT_HI
Definition: ksz9031_driver.h:69
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void ksz9031DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: ksz9031_driver.c:338
TCP/IP stack core.
uint16_t ksz9031ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: ksz9031_driver.c:390
void ksz9031WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ksz9031_driver.c:288
Debugging facilities.
#define KSZ9031_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ksz9031_driver.h:214