mpc5748_eth2_driver.h
Go to the documentation of this file.
void mpc5748Eth2EnableIrq(NetInterface *interface)
Enable interrupts.
Definition: mpc5748_eth2_driver.c:307
void mpc5748Eth2DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: mpc5748_eth2_driver.c:337
void mpc5748Eth2WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: mpc5748_eth2_driver.c:814
error_t mpc5748Eth2UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: mpc5748_eth2_driver.c:760
error_t mpc5748Eth2SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: mpc5748_eth2_driver.c:520
error_t mpc5748Eth2ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: mpc5748_eth2_driver.c:590
void mpc5748Eth2InitBufferDesc(NetInterface *interface)
Initialize buffer descriptors.
Definition: mpc5748_eth2_driver.c:221
uint16_t mpc5748Eth2ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: mpc5748_eth2_driver.c:856
void mpc5748Eth2Tick(NetInterface *interface)
MPC5748 Ethernet MAC timer handler.
Definition: mpc5748_eth2_driver.c:282
error_t mpc5748Eth2UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: mpc5748_eth2_driver.c:671
const NicDriver mpc5748Eth2Driver
MPC5748 Ethernet MAC driver (ENET1 instance)
Definition: mpc5748_eth2_driver.c:67
uint32_t mpc5748Eth2CalcCrc(const void *data, size_t length)
CRC calculation.
Definition: mpc5748_eth2_driver.c:903
void mpc5748Eth2EventHandler(NetInterface *interface)
MPC5748 Ethernet MAC event handler.
Definition: mpc5748_eth2_driver.c:465
error_t mpc5748Eth2Init(NetInterface *interface)
MPC5748 Ethernet MAC initialization.
Definition: mpc5748_eth2_driver.c:94
void mpc5748Eth2InitGpio(NetInterface *interface)
GPIO configuration.
Definition: mpc5748_eth2_driver.c:211