tms570_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
error_t tms570EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: tms570_eth_driver.c:844
TMS570 Ethernet MAC driver.
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 tms570EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: tms570_eth_driver.c:468
error_t tms570EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: tms570_eth_driver.c:668
error_t tms570EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: tms570_eth_driver.c:746
__weak_func void tms570EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: tms570_eth_driver.c:330
void tms570EthTick(NetInterface *interface)
TMS570 Ethernet MAC timer handler.
Definition: tms570_eth_driver.c:431
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
void tms570EthEventHandler(NetInterface *interface)
TMS570 Ethernet MAC event handler.
Definition: tms570_eth_driver.c:640
void tms570EthInitBufferDesc(NetInterface *interface)
Initialize buffer descriptor lists.
Definition: tms570_eth_driver.c:357
error_t tms570EthInit(NetInterface *interface)
TMS570 Ethernet MAC initialization.
Definition: tms570_eth_driver.c:146
void tms570EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: tms570_eth_driver.c:950
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void tms570EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: tms570_eth_driver.c:497
TCP/IP stack core.
error_t tms570EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: tms570_eth_driver.c:907
uint16_t tms570EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: tms570_eth_driver.c:989
Debugging facilities.