rm57_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 rm57EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: rm57_eth_driver.c:650
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 rm57EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: rm57_eth_driver.c:728
error_t rm57EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: rm57_eth_driver.c:826
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
uint16_t rm57EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: rm57_eth_driver.c:971
__weak_func void rm57EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: rm57_eth_driver.c:312
RM57 Ethernet MAC driver.
void rm57EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: rm57_eth_driver.c:932
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
error_t rm57EthInit(NetInterface *interface)
RM57 Ethernet MAC initialization.
Definition: rm57_eth_driver.c:128
error_t rm57EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: rm57_eth_driver.c:889
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void rm57EthEventHandler(NetInterface *interface)
RM57 Ethernet MAC event handler.
Definition: rm57_eth_driver.c:622
void rm57EthInitBufferDesc(NetInterface *interface)
Initialize buffer descriptor lists.
Definition: rm57_eth_driver.c:339
TCP/IP stack core.
void rm57EthTick(NetInterface *interface)
RM57 Ethernet MAC timer handler.
Definition: rm57_eth_driver.c:413
Debugging facilities.