dm9000_driver.c
Go to the documentation of this file.
Debugging facilities.
error_t dm9000ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: dm9000_driver.c:485
__weak_func void dm9000InitHook(NetInterface *interface)
DM9000 custom configuration.
Definition: dm9000_driver.c:203
void dm9000WriteReg(uint8_t address, uint8_t data)
Write DM9000 register.
Definition: dm9000_driver.c:644
error_t dm9000SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: dm9000_driver.c:415
void dm9000EventHandler(NetInterface *interface)
DM9000 event handler.
Definition: dm9000_driver.c:328
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
uint32_t dm9000CalcCrc(const void *data, size_t length)
CRC calculation.
Definition: dm9000_driver.c:734
bool_t dm9000IrqHandler(NetInterface *interface)
DM9000 interrupt service routine.
Definition: dm9000_driver.c:254
error_t dm9000Init(NetInterface *interface)
DM9000 controller initialization.
Definition: dm9000_driver.c:72
DM9000A/B Ethernet controller.
Ethernet.
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