sam9x6_eth1_driver.h
Go to the documentation of this file.
error_t sam9x6Eth1Init(NetInterface *interface)
SAM9X6 Ethernet MAC initialization.
Definition: sam9x6_eth1_driver.c:119
void sam9x6Eth1IrqHandler(void)
SAM9X6 Ethernet MAC interrupt service routine.
Definition: sam9x6_eth1_driver.c:400
error_t sam9x6Eth1UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: sam9x6_eth1_driver.c:821
void sam9x6Eth1EnableIrq(NetInterface *interface)
Enable interrupts.
Definition: sam9x6_eth1_driver.c:343
void sam9x6Eth1DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: sam9x6_eth1_driver.c:372
void sam9x6Eth1InitGpio(NetInterface *interface)
GPIO configuration.
Definition: sam9x6_eth1_driver.c:233
void sam9x6Eth1InitBufferDesc(NetInterface *interface)
Initialize buffer descriptors.
Definition: sam9x6_eth1_driver.c:265
void emacIrqWrapper(void)
void sam9x6Eth1EventHandler(NetInterface *interface)
SAM9X6 Ethernet MAC event handler.
Definition: sam9x6_eth1_driver.c:460
uint16_t sam9x6Eth1ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: sam9x6_eth1_driver.c:903
error_t sam9x6Eth1SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: sam9x6_eth1_driver.c:496
error_t sam9x6Eth1UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: sam9x6_eth1_driver.c:695
void sam9x6Eth1WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: sam9x6_eth1_driver.c:864
error_t sam9x6Eth1ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: sam9x6_eth1_driver.c:563
void sam9x6Eth1Tick(NetInterface *interface)
SAM9X6 Ethernet MAC timer handler.
Definition: sam9x6_eth1_driver.c:318
const NicDriver sam9x6Eth1Driver
SAM9X6 Ethernet MAC driver (EMAC0 instance)
Definition: sam9x6_eth1_driver.c:92