sam9x6_eth2_driver.h
error_t sam9x6Eth2UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: sam9x6_eth2_driver.c:799
error_t sam9x6Eth2UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: sam9x6_eth2_driver.c:673
void sam9x6Eth2EventHandler(NetInterface *interface)
SAM9X6 Ethernet MAC event handler.
Definition: sam9x6_eth2_driver.c:438
void sam9x6Eth2IrqHandler(void)
SAM9X6 Ethernet MAC interrupt service routine.
Definition: sam9x6_eth2_driver.c:378
void sam9x6Eth2InitGpio(NetInterface *interface)
GPIO configuration.
Definition: sam9x6_eth2_driver.c:233
void sam9x6Eth2InitBufferDesc(NetInterface *interface)
Initialize buffer descriptors.
Definition: sam9x6_eth2_driver.c:243
uint16_t sam9x6Eth2ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: sam9x6_eth2_driver.c:881
const NicDriver sam9x6Eth2Driver
SAM9X6 Ethernet MAC driver (EMAC1 instance)
Definition: sam9x6_eth2_driver.c:92
void sam9x6Eth2WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: sam9x6_eth2_driver.c:842
void emacIrqWrapper(void)
void sam9x6Eth2EnableIrq(NetInterface *interface)
Enable interrupts.
Definition: sam9x6_eth2_driver.c:321
void sam9x6Eth2DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: sam9x6_eth2_driver.c:350
void sam9x6Eth2Tick(NetInterface *interface)
SAM9X6 Ethernet MAC timer handler.
Definition: sam9x6_eth2_driver.c:296
error_t sam9x6Eth2ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: sam9x6_eth2_driver.c:541
error_t sam9x6Eth2Init(NetInterface *interface)
SAM9X6 Ethernet MAC initialization.
Definition: sam9x6_eth2_driver.c:119
error_t sam9x6Eth2SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: sam9x6_eth2_driver.c:474