pic32mx_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
error_t pic32mxEthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: pic32mx_eth_driver.c:655
void macAddrToEui64(const MacAddr *macAddr, Eui64 *interfaceId)
Map a MAC address to the IPv6 modified EUI-64 identifier.
Definition: ethernet.c:946
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 pic32mxEthInit(NetInterface *interface)
PIC32MX Ethernet MAC initialization.
Definition: pic32mx_eth_driver.c:94
void pic32mxEthInitBufferDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: pic32mx_eth_driver.c:240
error_t pic32mxEthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: pic32mx_eth_driver.c:602
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 pic32mxEthTick(NetInterface *interface)
PIC32MX Ethernet MAC timer handler.
Definition: pic32mx_eth_driver.c:306
uint16_t pic32mxEthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: pic32mx_eth_driver.c:734
void pic32mxEthIrqHandler(void)
PIC32MX Ethernet MAC interrupt service routine.
Definition: pic32mx_eth_driver.c:386
PIC32MX Ethernet MAC driver.
__weak_func void pic32mxEthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: pic32mx_eth_driver.c:230
error_t pic32mxEthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: pic32mx_eth_driver.c:529
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
uint32_t pic32mxEthCalcCrc(const void *data, size_t length)
CRC calculation.
Definition: pic32mx_eth_driver.c:780
void pic32mxEthEventHandler(NetInterface *interface)
PIC32MX Ethernet MAC event handler.
Definition: pic32mx_eth_driver.c:439
void pic32mxEthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: pic32mx_eth_driver.c:331
error_t pic32mxEthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: pic32mx_eth_driver.c:471
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
void pic32mxEthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: pic32mx_eth_driver.c:359
void pic32mxEthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: pic32mx_eth_driver.c:698
Debugging facilities.