ar8031_driver.c
Go to the documentation of this file.
void ar8031WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ar8031_driver.c:290
uint16_t ar8031ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ar8031_driver.c:314
__weak_func void ar8031InitHook(NetInterface *interface)
AR8031 custom configuration.
Definition: ar8031_driver.c:139
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
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
void ar8031EventHandler(NetInterface *interface)
AR8031 event handler.
Definition: ar8031_driver.c:217
AR8031 Gigabit Ethernet PHY driver.
#define AR8031_PHY_STATUS_SPEED_100MBPS
Definition: ar8031_driver.h:288
#define AR8031_FUNC_CTRL_ASSERT_CRS_ON_TX
Definition: ar8031_driver.h:275
#define AR8031_FUNC_CTRL_POLARITY_REVERSAL
Definition: ar8031_driver.h:282
#define AR8031_PHY_STATUS_SPEED_1000MBPS
Definition: ar8031_driver.h:289
#define AR8031_FUNC_CTRL_MDIX_MODE_AUTO
Definition: ar8031_driver.h:280
#define AR8031_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ar8031_driver.h:263
Debugging facilities.
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