ksz8061_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void ksz8061WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: ksz8061_driver.c:362
#define KSZ8061_PHYCON1_OP_MODE_100BTX_HD
Definition: ksz8061_driver.h:242
#define KSZ8061_PHYCON1_OP_MODE_100BTX_FD
Definition: ksz8061_driver.h:244
#define KSZ8061_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ksz8061_driver.h:161
uint16_t ksz8061ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ksz8061_driver.c:311
#define KSZ8061_PHYCON1_OP_MODE_10BT_FD
Definition: ksz8061_driver.h:243
error_t ksz8061Init(NetInterface *interface)
KSZ8061 PHY transceiver initialization.
Definition: ksz8061_driver.c:60
#define KSZ8061_PHYCON1_OP_MODE_10BT_HD
Definition: ksz8061_driver.h:241
uint16_t ksz8061ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: ksz8061_driver.c:389
KSZ8061 Ethernet PHY driver.
void ksz8061DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: ksz8061_driver.c:337
__weak_func void ksz8061InitHook(NetInterface *interface)
KSZ8061 custom configuration.
Definition: ksz8061_driver.c:129
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
void ksz8061EventHandler(NetInterface *interface)
KSZ8061 event handler.
Definition: ksz8061_driver.c:207
void ksz8061WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ksz8061_driver.c:287
Debugging facilities.