lan8770_driver.c
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
void lan8770WritePhyReg(NetInterface *interface, uint8_t address, uint16_t data)
Write PHY register.
Definition: lan8770_driver.c:270
#define LAN8770_AFE_PORT_CFG1_TX_AMP_DEFAULT
Definition: lan8770_driver.h:334
error_t lan8770Init(NetInterface *interface)
LAN8770 PHY transceiver initialization.
Definition: lan8770_driver.c:60
void lan8770EventHandler(NetInterface *interface)
LAN8770 event handler.
Definition: lan8770_driver.c:232
LAN8770 100Base-T1 Ethernet PHY driver.
uint16_t lan8770ReadPhyReg(NetInterface *interface, uint8_t address)
Read PHY register.
Definition: lan8770_driver.c:294
#define LAN8770_BASIC_STATUS_LINK_STATUS
Definition: lan8770_driver.h:130
#define LAN8770_BASIC_CONTROL_SW_RESET
Definition: lan8770_driver.h:104
uint16_t lan8770ReadExtReg(NetInterface *interface, uint8_t bank, uint8_t addr)
Read extended register.
Definition: lan8770_driver.c:373
#define LAN8770_EXT_REG_CTL_READ_CONTROL
Definition: lan8770_driver.h:172
void lan8770DumpPhyReg(NetInterface *interface)
Dump PHY registers for debugging purpose.
Definition: lan8770_driver.c:320
#define LAN8770_WKP_COM_CTL0_RING_OSC_EN
Definition: lan8770_driver.h:298
#define LAN8770_POWER_DOWN_CONTROL_HARD_INIT_SEQ_EN
Definition: lan8770_driver.h:215
#define LAN8770_EXT_REG_CTL_REGISTER_ADDR
Definition: lan8770_driver.h:179
__weak_func void lan8770InitHook(NetInterface *interface)
LAN8770 custom configuration.
Definition: lan8770_driver.c:154
#define LAN8770_EXT_REG_CTL_WRITE_CONTROL
Definition: lan8770_driver.h:173
#define LAN8770_EXT_REG_CTL_REGISTER_BANK
Definition: lan8770_driver.h:174
#define LAN8770_SLEEP_WAKE_DET_WUR_DETECT_LEN_DEFAULT
Definition: lan8770_driver.h:327
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define LAN8770_SLEEP_WAKE_DET_LPS_DETECT_LEN_DEFAULT
Definition: lan8770_driver.h:329
TCP/IP stack core.
Debugging facilities.
void lan8770WriteExtReg(NetInterface *interface, uint8_t bank, uint8_t addr, uint16_t data)
Write extended register.
Definition: lan8770_driver.c:345