gd32f2xx_eth_driver.h
void gd32f2xxEthTick(NetInterface *interface)
GD32F2XX Ethernet MAC timer handler.
Definition: gd32f2xx_eth_driver.c:351
error_t gd32f2xxEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: gd32f2xx_eth_driver.c:760
uint16_t gd32f2xxEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: gd32f2xx_eth_driver.c:845
void gd32f2xxEthEventHandler(NetInterface *interface)
GD32F2XX Ethernet MAC event handler.
Definition: gd32f2xx_eth_driver.c:484
void gd32f2xxEthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: gd32f2xx_eth_driver.c:376
void gd32f2xxEthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: gd32f2xx_eth_driver.c:242
void gd32f2xxEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: gd32f2xx_eth_driver.c:404
error_t gd32f2xxEthInit(NetInterface *interface)
GD32F2XX Ethernet MAC initialization.
Definition: gd32f2xx_eth_driver.c:114
Network interface controller abstraction layer.
void gd32f2xxEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: gd32f2xx_eth_driver.c:803
void gd32f2xxEthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: gd32f2xx_eth_driver.c:295
uint32_t gd32f2xxEthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: gd32f2xx_eth_driver.c:891
error_t gd32f2xxEthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: gd32f2xx_eth_driver.c:568
error_t gd32f2xxEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: gd32f2xx_eth_driver.c:509
error_t gd32f2xxEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: gd32f2xx_eth_driver.c:638