dm9000_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
void dm9000WritePhyReg(uint8_t address, uint16_t data)
Write DM9000 PHY register.
Definition: dm9000_driver.c:674
error_t dm9000UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: dm9000_driver.c:584
void dm9000WriteReg(uint8_t address, uint8_t data)
Write DM9000 register.
Definition: dm9000_driver.c:644
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
__weak_func void dm9000InitHook(NetInterface *interface)
DM9000 custom configuration.
Definition: dm9000_driver.c:203
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
Ethernet.
uint32_t dm9000CalcCrc(const void *data, size_t length)
CRC calculation.
Definition: dm9000_driver.c:734
error_t dm9000Init(NetInterface *interface)
DM9000 controller initialization.
Definition: dm9000_driver.c:72
error_t dm9000ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: dm9000_driver.c:485
error_t dm9000SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: dm9000_driver.c:415
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
DM9000A/B Ethernet controller.
void dm9000EventHandler(NetInterface *interface)
DM9000 event handler.
Definition: dm9000_driver.c:328
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
bool_t dm9000IrqHandler(NetInterface *interface)
DM9000 interrupt service routine.
Definition: dm9000_driver.c:254
TCP/IP stack core.
Debugging facilities.