a2fxxxm3_eth_driver.h
uint32_t a2fxxxm3EthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: a2fxxxm3_eth_driver.c:811
error_t a2fxxxm3EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: a2fxxxm3_eth_driver.c:623
error_t a2fxxxm3EthInit(NetInterface *interface)
A2FxxxM3 Ethernet MAC initialization.
Definition: a2fxxxm3_eth_driver.c:116
void a2fxxxm3EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: a2fxxxm3_eth_driver.c:277
error_t a2fxxxm3EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: a2fxxxm3_eth_driver.c:455
void a2fxxxm3EthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: a2fxxxm3_eth_driver.c:196
error_t a2fxxxm3EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: a2fxxxm3_eth_driver.c:512
void a2fxxxm3EthTick(NetInterface *interface)
A2FxxxM3 Ethernet MAC timer handler.
Definition: a2fxxxm3_eth_driver.c:252
void a2fxxxm3EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: a2fxxxm3_eth_driver.c:305
uint16_t a2fxxxm3EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: a2fxxxm3_eth_driver.c:699
void a2fxxxm3EthEventHandler(NetInterface *interface)
A2FxxxM3 Ethernet MAC event handler.
Definition: a2fxxxm3_eth_driver.c:385
error_t a2fxxxm3EthSendSetup(NetInterface *interface)
Send a setup frame.
Definition: a2fxxxm3_eth_driver.c:406
Network interface controller abstraction layer.
void a2fxxxm3EthWriteSmi(uint32_t data, uint_t length)
SMI write operation.
Definition: a2fxxxm3_eth_driver.c:732
void a2fxxxm3EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: a2fxxxm3_eth_driver.c:669
error_t a2fxxxm3EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: a2fxxxm3_eth_driver.c:580