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

Per-channel NIC configuration. More...

#include <ra8_eth.h>

Data Fields

uint8_t mac_address [6]
 Local MAC address (octets 0..5).
uint8_t channel
 Logical channel index (0..1).
uint16_t num_tx_descriptors
 Active TX descriptors (<=8, 0=def).
uint16_t num_rx_descriptors
 Active RX descriptors (<=8, 0=def).
uint16_t buffer_size
 Buffer size per descriptor.

Detailed Description

Per-channel NIC configuration.

Passed by const-pointer so future additions never break the ABI. num_tx_descriptors / num_rx_descriptors may be 0 to mean "use the compile-time defaults"; if non-zero they must satisfy 1 <= count <= k_ra8_eth_num_tx_desc / k_ra8_eth_num_rx_desc. buffer_size is similarly capped at k_ra8_eth_buf_size.

Definition at line 228 of file ra8_eth.h.

Field Documentation

◆ buffer_size

uint16_t ra8_eth_cfg_t::buffer_size

Buffer size per descriptor.

Definition at line 233 of file ra8_eth.h.

Referenced by internal_resolve_sizes().

◆ channel

uint8_t ra8_eth_cfg_t::channel

Logical channel index (0..1).

Definition at line 230 of file ra8_eth.h.

Referenced by internal_bring_up_rmac(), internal_open_prep(), and internal_populate_gwca_state().

◆ mac_address

uint8_t ra8_eth_cfg_t::mac_address[6]

Local MAC address (octets 0..5).

Definition at line 229 of file ra8_eth.h.

Referenced by internal_bring_up_rmac(), and internal_handle_init().

◆ num_rx_descriptors

uint16_t ra8_eth_cfg_t::num_rx_descriptors

Active RX descriptors (<=8, 0=def).

Definition at line 232 of file ra8_eth.h.

Referenced by internal_resolve_sizes().

◆ num_tx_descriptors

uint16_t ra8_eth_cfg_t::num_tx_descriptors

Active TX descriptors (<=8, 0=def).

Definition at line 231 of file ra8_eth.h.

Referenced by internal_resolve_sizes().


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