msp432e4_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 msp432e4EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: msp432e4_eth_driver.c:714
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
#define MSP432E4_ETH_TX_BUFFER_COUNT
Definition: msp432e4_eth_driver.h:39
MSP432E4 Ethernet controller.
void msp432e4EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: msp432e4_eth_driver.c:412
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 msp432e4EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: msp432e4_eth_driver.c:784
error_t msp432e4EthInit(NetInterface *interface)
MSP432E4 Ethernet MAC initialization.
Definition: msp432e4_eth_driver.c:121
void msp432e4EthIrqHandler(void)
MSP432E4 Ethernet MAC interrupt service routine.
Definition: msp432e4_eth_driver.c:477
uint32_t msp432e4EthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: msp432e4_eth_driver.c:1058
void msp432e4EthEventHandler(NetInterface *interface)
MSP432E4 Ethernet MAC event handler.
Definition: msp432e4_eth_driver.c:545
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
error_t msp432e4EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: msp432e4_eth_driver.c:906
__weak_func void msp432e4EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: msp432e4_eth_driver.c:296
#define MSP432E4_ETH_RX_BUFFER_COUNT
Definition: msp432e4_eth_driver.h:53
void msp432e4EthTick(NetInterface *interface)
MSP432E4 Ethernet MAC timer handler.
Definition: msp432e4_eth_driver.c:387
void msp432e4EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: msp432e4_eth_driver.c:949
error_t msp432e4EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: msp432e4_eth_driver.c:655
uint16_t msp432e4EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: msp432e4_eth_driver.c:991
void msp432e4EthInitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: msp432e4_eth_driver.c:318
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void msp432e4EthDumpPhyReg(void)
Dump PHY registers for debugging purpose.
Definition: msp432e4_eth_driver.c:1034
TCP/IP stack core.
void msp432e4EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: msp432e4_eth_driver.c:445
#define MSP432E4_ETH_IRQ_PRIORITY_GROUPING
Definition: msp432e4_eth_driver.h:67
Debugging facilities.