ar8035_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void ar8035WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: ar8035_driver.c:361
#define AR8035_PHY_STATUS_SPEED_100MBPS
Definition: ar8035_driver.h:222
#define AR8035_FUNC_CTRL_ASSERT_CRS_ON_TX
Definition: ar8035_driver.h:210
void ar8035EventHandler(NetInterface *interface)
AR8035 event handler.
Definition: ar8035_driver.c:213
#define AR8035_PHY_STATUS_SPEED_1000MBPS
Definition: ar8035_driver.h:223
uint16_t ar8035ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: ar8035_driver.c:388
error_t ar8035Init(NetInterface *interface)
AR8035 PHY transceiver initialization.
Definition: ar8035_driver.c:60
uint16_t ar8035ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ar8035_driver.c:310
#define AR8035_FUNC_CTRL_MDIX_MODE_AUTO
Definition: ar8035_driver.h:214
void ar8035WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ar8035_driver.c:286
__weak_func void ar8035InitHook(NetInterface *interface)
AR8035 custom configuration.
Definition: ar8035_driver.c:135
AR8035 Gigabit Ethernet PHY driver.
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define AR8035_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ar8035_driver.h:198
#define AR8035_FUNC_CTRL_POLARITY_REVERSAL
Definition: ar8035_driver.h:216
TCP/IP stack core.
Debugging facilities.
void ar8035DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: ar8035_driver.c:336