adin1300_driver.c
Go to the documentation of this file.
__weak_func void adin1300InitHook(NetInterface *interface)
ADIN1300 custom configuration.
Definition: adin1300_driver.c:130
uint16_t adin1300ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: adin1300_driver.c:320
void adin1300DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: adin1300_driver.c:193
void adin1300DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: adin1300_driver.c:346
void adin1300EventHandler(NetInterface *interface)
ADIN1300 event handler.
Definition: adin1300_driver.c:208
uint16_t adin1300ReadExtReg(NetInterface *interface, uint16_t address)
Read extended register.
Definition: adin1300_driver.c:389
error_t adin1300Init(NetInterface *interface)
ADIN1300 PHY transceiver initialization.
Definition: adin1300_driver.c:60
void adin1300WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: adin1300_driver.c:296
void adin1300WriteExtReg(NetInterface *interface, uint16_t address, uint16_t data)
Write extended register.
Definition: adin1300_driver.c:370
ADIN1300 Gigabit Ethernet PHY driver.
#define ADIN1300_PHY_STATUS_1_HCD_TECH_10BT_FD
Definition: adin1300_driver.h:329
#define ADIN1300_PHY_STATUS_1_HCD_TECH_100BTX_FD
Definition: adin1300_driver.h:331
#define ADIN1300_IRQ_STATUS_LNK_STAT_CHNG_IRQ_STAT
Definition: adin1300_driver.h:316
#define ADIN1300_PHY_STATUS_1_HCD_TECH_1000BT_HD
Definition: adin1300_driver.h:332
#define ADIN1300_PHY_STATUS_1_HCD_TECH_100BTX_HD
Definition: adin1300_driver.h:330
#define ADIN1300_MII_STATUS_LINK_STAT_LAT
Definition: adin1300_driver.h:172
#define ADIN1300_PHY_STATUS_1_HCD_TECH_10BT_HD
Definition: adin1300_driver.h:328
#define ADIN1300_PHY_STATUS_1_LINK_STAT
Definition: adin1300_driver.h:334
#define ADIN1300_IRQ_MASK_LNK_STAT_CHNG_IRQ_EN
Definition: adin1300_driver.h:304
#define ADIN1300_PHY_STATUS_1_HCD_TECH_1000BT_FD
Definition: adin1300_driver.h:333
#define ADIN1300_GE_IO_INT_N_OR_CNTRL_GE_IO_INT_N_OR_CNTRL_DEFAULT
Definition: adin1300_driver.h:686
#define ADIN1300_PHY_STATUS_1_HCD_TECH
Definition: adin1300_driver.h:327
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