rza2_eth1_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 rza2Eth1InitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: rza2_eth1_driver.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:690
RZ/A2 Ethernet MAC driver (ETHERC0 instance)
__weak_func void rza2Eth1InitGpio(NetInterface *interface)
GPIO configuration.
Definition: rza2_eth1_driver.c:224
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 rza2Eth1Init(NetInterface *interface)
RZ/A2 Ethernet MAC initialization.
Definition: rza2_eth1_driver.c:123
#define RZA2_ETH1_GET_PHYSICAL_ADDR(addr)
Definition: rza2_eth1_driver.h:79
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
const NicDriver rza2Eth1Driver
RZ/A2 Ethernet MAC driver (ETHERC0 instance)
Definition: rza2_eth1_driver.c:96
error_t rza2Eth1UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: rza2_eth1_driver.c:724
void rza2Eth1Tick(NetInterface *interface)
RZ/A2 Ethernet MAC timer handler.
Definition: rza2_eth1_driver.c:353
void rza2Eth1DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: rza2_eth1_driver.c:406
error_t rza2Eth1SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: rza2_eth1_driver.c:509
error_t rza2Eth1ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: rza2_eth1_driver.c:577
error_t rza2Eth1UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: rza2_eth1_driver.c:659
void rza2Eth1WriteSmi(uint32_t data, uint_t length)
SMI write operation.
Definition: rza2_eth1_driver.c:830
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
void rza2Eth1WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: rza2_eth1_driver.c:767
uint16_t rza2Eth1ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: rza2_eth1_driver.c:797
void rza2Eth1EventHandler(NetInterface *interface)
RZ/A2 Ethernet MAC event handler.
Definition: rza2_eth1_driver.c:484
TCP/IP stack core.
void rza2Eth1IrqHandler(uint32_t intSense)
RZ/A2 Ethernet MAC interrupt service routine.
Definition: rza2_eth1_driver.c:434
Debugging facilities.