ar8035_driver.c
Go to the documentation of this file.
uint16_t ar8035ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: ar8035_driver.c:310
void ar8035DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: ar8035_driver.c:336
__weak_func void ar8035InitHook(NetInterface *interface)
AR8035 custom configuration.
Definition: ar8035_driver.c:135
void ar8035EventHandler(NetInterface *interface)
AR8035 event handler.
Definition: ar8035_driver.c:213
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
void ar8035WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: ar8035_driver.c:286
void ar8035WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: ar8035_driver.c:361
AR8035 Gigabit Ethernet PHY driver.
#define AR8035_MMDACR_FUNC_DATA_NO_POST_INC
Definition: ar8035_driver.h:198
#define AR8035_PHY_STATUS_SPEED_1000MBPS
Definition: ar8035_driver.h:223
#define AR8035_FUNC_CTRL_ASSERT_CRS_ON_TX
Definition: ar8035_driver.h:210
#define AR8035_FUNC_CTRL_POLARITY_REVERSAL
Definition: ar8035_driver.h:216
#define AR8035_FUNC_CTRL_MDIX_MODE_AUTO
Definition: ar8035_driver.h:214
#define AR8035_PHY_STATUS_SPEED_100MBPS
Definition: ar8035_driver.h:222
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