mpc5748_eth1_driver.h
Go to the documentation of this file.
uint32_t mpc5748Eth1CalcCrc(const void *data, size_t length)
CRC calculation.
Definition: mpc5748_eth1_driver.c:947
error_t mpc5748Eth1SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: mpc5748_eth1_driver.c:564
void mpc5748Eth1EnableIrq(NetInterface *interface)
Enable interrupts.
Definition: mpc5748_eth1_driver.c:351
const NicDriver mpc5748Eth1Driver
MPC5748 Ethernet MAC driver (ENET0 instance)
Definition: mpc5748_eth1_driver.c:67
void mpc5748Eth1Tick(NetInterface *interface)
MPC5748 Ethernet MAC timer handler.
Definition: mpc5748_eth1_driver.c:326
error_t mpc5748Eth1UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: mpc5748_eth1_driver.c:715
void mpc5748Eth1WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: mpc5748_eth1_driver.c:858
void mpc5748Eth1DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: mpc5748_eth1_driver.c:381
error_t mpc5748Eth1ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: mpc5748_eth1_driver.c:634
uint16_t mpc5748Eth1ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: mpc5748_eth1_driver.c:900
error_t mpc5748Eth1UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: mpc5748_eth1_driver.c:804
void mpc5748Eth1InitBufferDesc(NetInterface *interface)
Initialize buffer descriptors.
Definition: mpc5748_eth1_driver.c:265
error_t mpc5748Eth1Init(NetInterface *interface)
MPC5748 Ethernet MAC initialization.
Definition: mpc5748_eth1_driver.c:94
void mpc5748Eth1EventHandler(NetInterface *interface)
MPC5748 Ethernet MAC event handler.
Definition: mpc5748_eth1_driver.c:509
void mpc5748Eth1InitGpio(NetInterface *interface)
GPIO configuration.
Definition: mpc5748_eth1_driver.c:211