s7g2_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 s7g2Eth1EventHandler(NetInterface *interface)
S7G2 Ethernet MAC event handler.
Definition: s7g2_eth1_driver.c:491
void EDMAC0_EINT_IRQHandler(void)
S7G2 Ethernet MAC interrupt service routine.
Definition: s7g2_eth1_driver.c:438
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
void s7g2Eth1InitDmaDesc(NetInterface *interface)
Initialize DMA descriptor lists.
Definition: s7g2_eth1_driver.c:302
void nicProcessPacket(NetInterface *interface, uint8_t *packet, size_t length, NetRxAncillary *ancillary)
Handle a packet received by the network controller.
Definition: nic.c:392
const NicDriver s7g2Eth1Driver
S7G2 Ethernet MAC driver (ETHERC0 instance)
Definition: s7g2_eth1_driver.c:88
error_t s7g2Eth1UpdateMacConfig(NetInterface *interface)
Adjust MAC configuration parameters for proper operation.
Definition: s7g2_eth1_driver.c:727
void s7g2Eth1WritePhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr, uint16_t data)
Write PHY register.
Definition: s7g2_eth1_driver.c:770
void s7g2Eth1Tick(NetInterface *interface)
S7G2 Ethernet MAC timer handler.
Definition: s7g2_eth1_driver.c:358
void s7g2Eth1WriteSmi(uint32_t data, uint_t length)
SMI write operation.
Definition: s7g2_eth1_driver.c:833
Renesas Synergy S7G2 Ethernet MAC driver (ETHERC0 instance)
size_t netBufferGetLength(const NetBuffer *buffer)
Get the actual length of a multi-part buffer.
Definition: net_mem.c:297
#define S7G2_ETH1_IRQ_PRIORITY_GROUPING
Definition: s7g2_eth1_driver.h:67
error_t s7g2Eth1UpdateMacAddrFilter(NetInterface *interface)
Configure MAC address filtering.
Definition: s7g2_eth1_driver.c:662
error_t s7g2Eth1ReceivePacket(NetInterface *interface)
Receive a packet.
Definition: s7g2_eth1_driver.c:584
void osSetEvent(OsEvent *event)
Set the specified event object to the signaled state.
Definition: os_port_chibios.c:202
__weak_func void s7g2Eth1InitGpio(NetInterface *interface)
GPIO configuration.
Definition: s7g2_eth1_driver.c:220
void s7g2Eth1DisableIrq(NetInterface *interface)
Disable interrupts.
Definition: s7g2_eth1_driver.c:411
error_t s7g2Eth1Init(NetInterface *interface)
S7G2 Ethernet MAC initialization.
Definition: s7g2_eth1_driver.c:115
TCP/IP stack core.
error_t s7g2Eth1SendPacket(NetInterface *interface, const NetBuffer *buffer, size_t offset, NetTxAncillary *ancillary)
Send a packet.
Definition: s7g2_eth1_driver.c:516
Debugging facilities.
uint16_t s7g2Eth1ReadPhyReg(uint8_t opcode, uint8_t phyAddr, uint8_t regAddr)
Read PHY register.
Definition: s7g2_eth1_driver.c:800