ar8031_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void ar8031EventHandler(NetInterface *interface)
AR8031 event handler.
Definition: ar8031_driver.c:217
void ar8031DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: ar8031_driver.c:340
error_t ar8031Init(NetInterface *interface)
AR8031 PHY transceiver initialization.
Definition: ar8031_driver.c:60
#define AR8031_PHY_STATUS_SPEED_1000MBPS
Definition: ar8031_driver.h:289
void ar8031WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: ar8031_driver.c:365
uint16_t ar8031ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: ar8031_driver.c:392
#define AR8031_FUNC_CTRL_POLARITY_REVERSAL
Definition: ar8031_driver.h:282
void ar8031WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ar8031_driver.c:290
__weak_func void ar8031InitHook(NetInterface *interface)
AR8031 custom configuration.
Definition: ar8031_driver.c:139
#define AR8031_FUNC_CTRL_ASSERT_CRS_ON_TX
Definition: ar8031_driver.h:275
uint16_t ar8031ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ar8031_driver.c:314
#define AR8031_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ar8031_driver.h:263
#define AR8031_PHY_STATUS_SPEED_100MBPS
Definition: ar8031_driver.h:288
#define AR8031_FUNC_CTRL_MDIX_MODE_AUTO
Definition: ar8031_driver.h:280
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
AR8031 Gigabit Ethernet PHY driver.
Debugging facilities.