gd32e5xx_eth_driver.h
error_t gd32e5xxEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: gd32e5xx_eth_driver.c:776
void gd32e5xxEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: gd32e5xx_eth_driver.c:819
void gd32e5xxEthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: gd32e5xx_eth_driver.c:242
void gd32e5xxEthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: gd32e5xx_eth_driver.c:295
error_t gd32e5xxEthInit(NetInterface *interface)
GD32E5XX Ethernet MAC initialization.
Definition: gd32e5xx_eth_driver.c:114
void gd32e5xxEthTick(NetInterface *interface)
GD32E5XX Ethernet MAC timer handler.
Definition: gd32e5xx_eth_driver.c:364
error_t gd32e5xxEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: gd32e5xx_eth_driver.c:654
error_t gd32e5xxEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: gd32e5xx_eth_driver.c:522
void gd32e5xxEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: gd32e5xx_eth_driver.c:417
uint32_t gd32e5xxEthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: gd32e5xx_eth_driver.c:907
void gd32e5xxEthEventHandler(NetInterface *interface)
GD32E5XX Ethernet MAC event handler.
Definition: gd32e5xx_eth_driver.c:497
uint16_t gd32e5xxEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: gd32e5xx_eth_driver.c:861
void gd32e5xxEthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: gd32e5xx_eth_driver.c:389
error_t gd32e5xxEthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: gd32e5xx_eth_driver.c:584
Network interface controller abstraction layer.