rza2_eth2_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 rza2Eth2IrqHandler(uint32_t intSense)
RZ/A2 Ethernet MAC interrupt service routine.
Definition: rza2_eth2_driver.c:492
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 rza2Eth2Init(NetInterface *interface)
RZ/A2 Ethernet MAC initialization.
Definition: rza2_eth2_driver.c:123
void rza2Eth2EventHandler(NetInterface *interface)
RZ/A2 Ethernet MAC event handler.
Definition: rza2_eth2_driver.c:542
void rza2Eth2WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: rza2_eth2_driver.c:825
#define RZA2_ETH2_GET_PHYSICAL_ADDR(addr)
Definition: rza2_eth2_driver.h:79
void rza2Eth2InitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: rza2_eth2_driver.c:355
uint16_t rza2Eth2ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: rza2_eth2_driver.c:855
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
void rza2Eth2Tick(NetInterface *interface)
RZ/A2 Ethernet MAC timer handler.
Definition: rza2_eth2_driver.c:411
error_t rza2Eth2SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: rza2_eth2_driver.c:567
error_t rza2Eth2UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: rza2_eth2_driver.c:782
void rza2Eth2WriteSmi(uint32_t data, uint_t length)
SMI write operation.
Definition: rza2_eth2_driver.c:888
error_t rza2Eth2UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: rza2_eth2_driver.c:717
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
__weak_func void rza2Eth2InitGpio(NetInterface *interface)
GPIO configuration.
Definition: rza2_eth2_driver.c:224
const NicDriver rza2Eth2Driver
RZ/A2 Ethernet MAC driver (ETHERC1 instance)
Definition: rza2_eth2_driver.c:96
RZ/A2 Ethernet MAC driver (ETHERC1 instance)
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
TCP/IP stack core.
error_t rza2Eth2ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: rza2_eth2_driver.c:635
void rza2Eth2DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: rza2_eth2_driver.c:464
Debugging facilities.