dp83867_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
#define DP83867_MICR_LINK_STATUS_CHNG_INT_EN
Definition: dp83867_driver.h:324
#define DP83867_MISR_LINK_STATUS_CHNG_INT
Definition: dp83867_driver.h:340
#define DP83867_RGMIIDCTL_RGMII_TX_DELAY_CTRL_1_50NS
Definition: dp83867_driver.h:568
#define DP83867_LEDCR1_LED_GPIO_SEL_10_100
Definition: dp83867_driver.h:391
#define DP83867_PHYSTS_SPEED_SEL_10MBPS
Definition: dp83867_driver.h:303
void dp83867DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: dp83867_driver.c:344
#define DP83867_PHYSTS_SPEED_SEL_1000MBPS
Definition: dp83867_driver.h:305
#define DP83867_GPIO_MUX_CTRL_GPIO_1_CTRL_CONST_0
Definition: dp83867_driver.h:843
error_t dp83867Init(NetInterface *interface)
DP83867 PHY transceiver initialization.
Definition: dp83867_driver.c:60
void dp83867EventHandler(NetInterface *interface)
DP83867 event handler.
Definition: dp83867_driver.c:221
#define DP83867_RGMIICTL_RGMII_TX_CLK_DELAY
Definition: dp83867_driver.h:505
__weak_func void dp83867InitHook(NetInterface *interface)
DP83867 custom configuration.
Definition: dp83867_driver.c:143
DP83867 Gigabit Ethernet PHY driver.
void dp83867WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: dp83867_driver.c:294
#define DP83867_REGCR_FUNC_DATA_NO_POST_INC
Definition: dp83867_driver.h:279
#define DP83867_PHYSTS_SPEED_SEL_100MBPS
Definition: dp83867_driver.h:304
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define DP83867_GPIO_MUX_CTRL_GPIO_0_CTRL_LED_3
Definition: dp83867_driver.h:851
#define DP83867_RGMIIDCTL_RGMII_RX_DELAY_CTRL_2_00NS
Definition: dp83867_driver.h:587
uint16_t dp83867ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: dp83867_driver.c:318
TCP/IP stack core.
#define DP83867_RGMIICTL_RGMII_RX_CLK_DELAY
Definition: dp83867_driver.h:506
uint16_t dp83867ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: dp83867_driver.c:396
void dp83867WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: dp83867_driver.c:369
Debugging facilities.