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