gd32f4xx_eth_driver.h
error_t gd32f4xxEthInit(NetInterface *interface)
GD32F4XX Ethernet MAC initialization.
Definition: gd32f4xx_eth_driver.c:114
void gd32f4xxEthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: gd32f4xx_eth_driver.c:318
void gd32f4xxEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: gd32f4xx_eth_driver.c:440
void gd32f4xxEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: gd32f4xx_eth_driver.c:839
void gd32f4xxEthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: gd32f4xx_eth_driver.c:242
error_t gd32f4xxEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: gd32f4xx_eth_driver.c:545
uint16_t gd32f4xxEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: gd32f4xx_eth_driver.c:881
error_t gd32f4xxEthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: gd32f4xx_eth_driver.c:604
error_t gd32f4xxEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: gd32f4xx_eth_driver.c:674
error_t gd32f4xxEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: gd32f4xx_eth_driver.c:796
uint32_t gd32f4xxEthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: gd32f4xx_eth_driver.c:927
void gd32f4xxEthEventHandler(NetInterface *interface)
GD32F4XX Ethernet MAC event handler.
Definition: gd32f4xx_eth_driver.c:520
Network interface controller abstraction layer.
void gd32f4xxEthTick(NetInterface *interface)
GD32F4XX Ethernet MAC timer handler.
Definition: gd32f4xx_eth_driver.c:387
void gd32f4xxEthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: gd32f4xx_eth_driver.c:412