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

8-byte basic descriptor (HUM Ch 34.5.1.2 "General Formats"). More...

#include <ra8_ether_regs.h>

Data Fields

volatile uint8_t ds_l
 0..7 Descriptor size (low byte).
volatile uint8_t ds_h: 4
 8..11 Descriptor size (high nibble).
volatile uint8_t info0: 4
 12..15 Information 0.
volatile uint8_t err: 3
 16..18 Error bits (data/AXI errors).
volatile uint8_t die: 1
 19 Descriptor interrupt enable.
volatile uint8_t dt: 4
 20..23 Descriptor type (ra8_gwdcc_dt_t).
volatile uint8_t ptr_h
 24..31 Pointer high byte (PTR[39:32]).
volatile uint32_t ptr_l
 32..63 Pointer low 32 bits.

Detailed Description

8-byte basic descriptor (HUM Ch 34.5.1.2 "General Formats").

Layout matches the FSP layer3_switch_basic_descriptor_t (r_layer3_switch.h). All fields are little-endian on the LE targets we support (Cortex-M85 + host x86_64). The chip walks arrays of these; LINKFIX/LINK entries also use this format with dt set to k_ra8_gwdcc_dt_linkfix or k_ra8_gwdcc_dt_link.

Definition at line 335 of file ra8_ether_regs.h.

Field Documentation

◆ die

volatile uint8_t ra8_gwca_basic_descriptor_t::die

19 Descriptor interrupt enable.

Definition at line 340 of file ra8_ether_regs.h.

◆ ds_h

volatile uint8_t ra8_gwca_basic_descriptor_t::ds_h

8..11 Descriptor size (high nibble).

Definition at line 337 of file ra8_ether_regs.h.

Referenced by internal_decode_ds(), internal_drain_rx_slot(), ra8_eth_gwca_init_ring(), and ra8_eth_gwca_tx_frame().

◆ ds_l

volatile uint8_t ra8_gwca_basic_descriptor_t::ds_l

0..7 Descriptor size (low byte).

Definition at line 336 of file ra8_ether_regs.h.

Referenced by internal_decode_ds(), internal_drain_rx_slot(), ra8_eth_gwca_init_ring(), and ra8_eth_gwca_tx_frame().

◆ dt

volatile uint8_t ra8_gwca_basic_descriptor_t::dt

◆ err

volatile uint8_t ra8_gwca_basic_descriptor_t::err

16..18 Error bits (data/AXI errors).

Definition at line 339 of file ra8_ether_regs.h.

◆ info0

volatile uint8_t ra8_gwca_basic_descriptor_t::info0

12..15 Information 0.

Definition at line 338 of file ra8_ether_regs.h.

◆ ptr_h

volatile uint8_t ra8_gwca_basic_descriptor_t::ptr_h

24..31 Pointer high byte (PTR[39:32]).

Definition at line 342 of file ra8_ether_regs.h.

Referenced by priv_ra8_eth_gwca_decode_ptr(), priv_ra8_eth_gwca_set_linkfix_entry(), and ra8_eth_gwca_set_descriptor_buffer().

◆ ptr_l

volatile uint32_t ra8_gwca_basic_descriptor_t::ptr_l

32..63 Pointer low 32 bits.

Definition at line 343 of file ra8_ether_regs.h.

Referenced by priv_ra8_eth_gwca_decode_ptr(), priv_ra8_eth_gwca_set_linkfix_entry(), and ra8_eth_gwca_set_descriptor_buffer().


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