sam9263_eth_driver.c
Go to the documentation of this file.
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 sam9263EthIrqHandler(void)
SAM9263 Ethernet MAC interrupt service routine.
Definition: sam9263_eth_driver.c:390
void sam9263EthInitBufferDesc(NetInterface *interface)
Initialize buffer descriptors.
Definition: sam9263_eth_driver.c:257
__weak_func void sam9263EthInitGpio(NetInterface *interface)
GPIO configuration.
Definition: sam9263_eth_driver.c:226
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 sam9263EthInit(NetInterface *interface)
SAM9263 Ethernet MAC initialization.
Definition: sam9263_eth_driver.c:115
void emacIrqWrapper(void)
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
error_t sam9263EthReceivePacket(NetInterface *interface)
Receive a packet.
Definition: sam9263_eth_driver.c:550
void sam9263EthEventHandler(NetInterface *interface)
SAM9263 Ethernet MAC event handler.
Definition: sam9263_eth_driver.c:447
void sam9263EthDisableIrq(NetInterface *interface)
Disable interrupts.
Definition: sam9263_eth_driver.c:363
void sam9263EthWritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: sam9263_eth_driver.c:851
uint16_t sam9263EthReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: sam9263_eth_driver.c:890
AT91SAM9263 Ethernet MAC driver.
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
void sam9263EthEnableIrq(NetInterface *interface)
Enable interrupts.
Definition: sam9263_eth_driver.c:335
void sam9263EthTick(NetInterface *interface)
SAM9263 Ethernet MAC timer handler.
Definition: sam9263_eth_driver.c:310
error_t sam9263EthSendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: sam9263_eth_driver.c:483
error_t sam9263EthUpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: sam9263_eth_driver.c:808
error_t sam9263EthUpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: sam9263_eth_driver.c:682
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
Debugging facilities.