aps3_eth_driver.c
bool_t osSetEventFromIsr(OsEvent *event)
Set an event object to the signaled state from an interrupt service routine.
Definition: os_port_chibios.c:270
size_t netBufferRead(void *dest, const NetBuffer *src, size_t srcOffset, size_t length)
Read data from a multi-part buffer.
Definition: net_mem.c:690
void aps3EthEventHandler(NetInterface *interface)
Cortus APS3 Ethernet MAC event handler.
Definition: aps3_eth_driver.c:396
uint16_t aps3EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: aps3_eth_driver.c:685
uint32_t aps3EthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: aps3_eth_driver.c:731
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
void aps3EthTxIrqHandler(void)
Ethernet MAC transmit interrupt service routine.
Definition: aps3_eth_driver.c:335
error_t aps3EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: aps3_eth_driver.c:489
void aps3EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: aps3_eth_driver.c:645
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
error_t aps3EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: aps3_eth_driver.c:612
Cortus APS3 Ethernet MAC driver.
void aps3EthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: aps3_eth_driver.c:206
error_t aps3EthInit(NetInterface *interface)
Cortus APS3 Ethernet MAC initialization.
Definition: aps3_eth_driver.c:92
void aps3EthTick(NetInterface *interface)
Cortus APS3 Ethernet MAC timer handler.
Definition: aps3_eth_driver.c:253
error_t aps3EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: aps3_eth_driver.c:428
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
error_t aps3EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: aps3_eth_driver.c:547
Debugging facilities.
void aps3EthRxIrqHandler(void)
Ethernet MAC receive interrupt service routine.
Definition: aps3_eth_driver.c:368