ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
r_gwca_regs_t Struct Reference

Minimal CPU Agent (GWCA) register window. More...

#include <ra8_ether_regs.h>

Data Fields

volatile uint32_t GWCA_CTRL
 +0x00 GWMC (Mode Configuration) – misnamed.
volatile uint32_t GWCA_STS
 +0x04 GWMS (Mode Status) – misnamed.
volatile uint32_t GWCA_IE
 +0x08 reserved – misnamed as "IE".
volatile uint32_t GWCA_ICLR
 +0x0C reserved – misnamed as "ICLR".

Detailed Description

Minimal CPU Agent (GWCA) register window.

GWCA is the bridge between MFWD/COMA and CPU memory; it owns the per-channel descriptor rings the host uses for TX/RX staging. The + NIC consumer programmes the descriptor rings; this scaffold just covers the lifecycle + IRQ surface.

Warning
Field names here pre-date the FSP R_GWCA0_Type reference (cloned from github.com/renesas/fsp). The first 16 bytes actually map to:
  • +0x00: GWMC (Mode Configuration – OPC bits drive the ESWM state machine: 00=RESET, 01=DISABLE, 10=CONFIG, 11=OPERATION; HUM Ch 34.3.1)
  • +0x04: GWMS (Mode Status – mirror of OPC)
  • +0x08-0x0C: reserved The "GWCA_CTRL/STS/IE/ICLR" names below are inherited from the RA6 EDMAC port and are misnamed for RA8D2 ESWM. The +0x08/+0x0C fields are NOT separate "IE/ICLR" registers; do not rely on them. Keep the legacy names for source compatibility with the existing ra8_eth_gwca.c API until the full port lands. The real register set lives in r_gwca_regs_full_t below.

Definition at line 270 of file ra8_ether_regs.h.

Field Documentation

◆ GWCA_CTRL

volatile uint32_t r_gwca_regs_t::GWCA_CTRL

+0x00 GWMC (Mode Configuration) – misnamed.

Definition at line 271 of file ra8_ether_regs.h.

Referenced by ra8_eth_gwca_deinit(), ra8_eth_gwca_enter_stop(), and ra8_eth_gwca_init().

◆ GWCA_ICLR

volatile uint32_t r_gwca_regs_t::GWCA_ICLR

+0x0C reserved – misnamed as "ICLR".

Definition at line 274 of file ra8_ether_regs.h.

Referenced by ra8_eth_gwca_clear_status(), ra8_eth_gwca_dispatch(), and ra8_eth_gwca_init().

◆ GWCA_IE

volatile uint32_t r_gwca_regs_t::GWCA_IE

+0x08 reserved – misnamed as "IE".

Definition at line 273 of file ra8_ether_regs.h.

Referenced by ra8_eth_gwca_deinit(), and ra8_eth_gwca_init().

◆ GWCA_STS

volatile uint32_t r_gwca_regs_t::GWCA_STS

+0x04 GWMS (Mode Status) – misnamed.

Definition at line 272 of file ra8_ether_regs.h.

Referenced by ra8_eth_gwca_clear_status(), ra8_eth_gwca_dispatch(), ra8_eth_gwca_get_status(), and ra8_eth_gwca_init().


The documentation for this struct was generated from the following file: