dp83869_driver.c
Go to the documentation of this file.
Debugging facilities.
void dp83869WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: dp83869_driver.c:294
void dp83869EventHandler(NetInterface *interface)
DP83869 event handler.
Definition: dp83869_driver.c:221
void dp83869WriteMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr, uint16_t data)
Write MMD register.
Definition: dp83869_driver.c:369
uint16_t dp83869ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: dp83869_driver.c:318
void dp83869DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: dp83869_driver.c:344
uint16_t dp83869ReadMmdReg(NetInterface *interface, uint8_t devAddr, uint16_t regAddr)
Read MMD register.
Definition: dp83869_driver.c:396
__weak_func void dp83869InitHook(NetInterface *interface)
DP83869 custom configuration.
Definition: dp83869_driver.c:143
error_t dp83869Init(NetInterface *interface)
DP83869 PHY transceiver initialization.
Definition: dp83869_driver.c:60
DP83869 Gigabit Ethernet PHY driver.
#define DP83869_PHY_STATUS_SPEED_SEL_100MBPS
Definition: dp83869_driver.h:257
#define DP83869_PHY_STATUS_SPEED_SEL_1000MBPS
Definition: dp83869_driver.h:258
#define DP83869_RGMII_CTRL_RGMII_RX_CLK_DELAY
Definition: dp83869_driver.h:483
#define DP83869_ANA_RGMII_DLL_CTRL_DLL_RX_DELAY_CTRL_SL_2_00NS
Definition: dp83869_driver.h:548
#define DP83869_INTERRUPT_MASK_LINK_STATUS_CHNG_INT_EN
Definition: dp83869_driver.h:277
#define DP83869_PHY_STATUS_SPEED_SEL_10MBPS
Definition: dp83869_driver.h:256
#define DP83869_GPIO_MUX_CTRL_LED_2_GPIO_0_CTRL_LED_2
Definition: dp83869_driver.h:726
#define DP83869_PHY_STATUS_DUPLEX_MODE_ENV
Definition: dp83869_driver.h:259
#define DP83869_REGCR_FUNC_DATA_NO_POST_INC
Definition: dp83869_driver.h:233
#define DP83869_INTERRUPT_STATUS_LINK_STATUS_CHNG
Definition: dp83869_driver.h:295
#define DP83869_LEDS_CFG1_LED_1_SEL_1000
Definition: dp83869_driver.h:385
#define DP83869_LEDS_CFG1_LED_2_SEL_ACT
Definition: dp83869_driver.h:366
#define DP83869_LEDS_CFG1_LED_GPIO_SEL_10_100
Definition: dp83869_driver.h:358
#define DP83869_LEDS_CFG1_LED_0_SEL_LINK
Definition: dp83869_driver.h:395
#define DP83869_ANA_RGMII_DLL_CTRL_DLL_TX_DELAY_CTRL_SL_1_50NS
Definition: dp83869_driver.h:529
#define DP83869_RGMII_CTRL_RGMII_TX_CLK_DELAY
Definition: dp83869_driver.h:482
#define DP83869_PHY_STATUS_LINK_STATUS_2
Definition: dp83869_driver.h:262
#define DP83869_GPIO_MUX_CTRL_JTAG_TDO_GPIO_1_CTRL_LED_3
Definition: dp83869_driver.h:712
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