tm4c129_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
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
error_t tm4c129EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: tm4c129_eth_driver.c:817
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
__weak_func void tm4c129EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: tm4c129_eth_driver.c:314
void tm4c129EthDumpPhyReg(void)
Dump PHY registers for debugging purpose.
Definition: tm4c129_eth_driver.c:1067
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
error_t tm4c129EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: tm4c129_eth_driver.c:747
void tm4c129EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: tm4c129_eth_driver.c:445
Tiva TM4C129 Ethernet controller.
void tm4c129EthTick(NetInterface *interface)
TM4C129 Ethernet MAC timer handler.
Definition: tm4c129_eth_driver.c:420
void tm4c129EthEventHandler(NetInterface *interface)
TM4C129 Ethernet MAC event handler.
Definition: tm4c129_eth_driver.c:578
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
void tm4c129EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: tm4c129_eth_driver.c:982
uint32_t tm4c129EthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: tm4c129_eth_driver.c:1091
error_t tm4c129EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: tm4c129_eth_driver.c:939
void tm4c129EthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: tm4c129_eth_driver.c:351
error_t tm4c129EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: tm4c129_eth_driver.c:688
uint16_t tm4c129EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: tm4c129_eth_driver.c:1024
void tm4c129EthIrqHandler(void)
TM4C129 Ethernet MAC interrupt service routine.
Definition: tm4c129_eth_driver.c:510
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
#define TM4C129_ETH_IRQ_PRIORITY_GROUPING
Definition: tm4c129_eth_driver.h:67
TCP/IP stack core.
void tm4c129EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: tm4c129_eth_driver.c:478
error_t tm4c129EthInit(NetInterface *interface)
TM4C129 Ethernet MAC initialization.
Definition: tm4c129_eth_driver.c:124
Debugging facilities.