w5100s_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 w5100sReadData(NetInterface *interface, uint8_t *data, size_t length)
Read data.
Definition: w5100s_driver.c:660
void nicNotifyLinkChange(NetInterface *interface)
Process link state change notification.
Definition: nic.c:559
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
void w5100sWriteBuffer(NetInterface *interface, uint16_t address, const uint8_t *data, size_t length)
Write TX buffer.
Definition: w5100s_driver.c:707
error_t w5100sUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: w5100s_driver.c:479
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
bool_t w5100sIrqHandler(NetInterface *interface)
W5100S interrupt service routine.
Definition: w5100s_driver.c:279
void w5100sReadBuffer(NetInterface *interface, uint16_t address, uint8_t *data, size_t length)
Read RX buffer.
Definition: w5100s_driver.c:741
void w5100sWriteReg8(NetInterface *interface, uint16_t address, uint8_t data)
Write 8-bit register.
Definition: w5100s_driver.c:493
uint16_t w5100sReadReg16(NetInterface *interface, uint16_t address)
Read 16-bit register.
Definition: w5100s_driver.c:580
error_t w5100sSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: w5100s_driver.c:365
void w5100sDumpReg(NetInterface *interface)
Dump registers for debugging purpose.
Definition: w5100s_driver.c:772
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
__weak_func void w5100sInitHook(NetInterface *interface)
W5100S custom configuration.
Definition: w5100s_driver.c:181
void w5100sWriteData(NetInterface *interface, const uint8_t *data, size_t length)
Write data.
Definition: w5100s_driver.c:613
WIZnet W5100S Ethernet controller.
void w5100sWriteReg16(NetInterface *interface, uint16_t address, uint16_t data)
Write 16-bit register.
Definition: w5100s_driver.c:552
uint8_t w5100sReadReg8(NetInterface *interface, uint16_t address)
Read 8-bit register.
Definition: w5100s_driver.c:520
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void w5100sEventHandler(NetInterface *interface)
W5100S event handler.
Definition: w5100s_driver.c:340
error_t w5100sInit(NetInterface *interface)
W5100S controller initialization.
Definition: w5100s_driver.c:71
TCP/IP stack core.
error_t w5100sReceivePacket(NetInterface *interface)
Receive a packet.
Definition: w5100s_driver.c:418
Debugging facilities.