ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_eth_gwca_internal.h
Go to the documentation of this file.
1
28
29#pragma once
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#include <stdint.h>
36
37#include "ra8_attributes.h"
38#include "ra8_eth_gwca.h"
39
51enum : uint32_t {
55};
56
82
98extern volatile uint32_t g_ra8_eth_gwca_open_step;
99
116extern volatile uint32_t g_ra8_eth_gwca_pre_step;
117
135extern volatile uint32_t g_ra8_eth_gwca_bring_up_step;
136
162 const void* chain_head);
163
190
191#ifdef __cplusplus
192}
193#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
volatile uint32_t g_ra8_eth_gwca_pre_step
Bench-side debug trail bumped inside internal_default_open_pre.
volatile uint32_t g_ra8_eth_gwca_bring_up_step
Bench-side debug trail bumped inside ra8_eth_gwca_bring_up.
volatile uint32_t g_ra8_eth_gwca_open_step
Bench-side debug trail bumped by ra8_eth_gwca_default_open.
Ethernet CPU Agent (GWCA) driver.
@ k_ra8_eth_gwca_tx_done_spin
TX descriptor write-back poll budget.
@ k_ra8_eth_gwca_balr_spin
GWDCCi.BALR self-clear poll budget.
@ k_ra8_eth_gwca_mode_spin
GWMS.OPS / GWARIRM.ARR poll budget.
uint8_t * priv_ra8_eth_gwca_decode_ptr(const ra8_gwca_basic_descriptor_t *desc)
Decode a descriptor's 40-bit PTR back to a host pointer.
void priv_ra8_eth_gwca_set_linkfix_entry(ra8_gwca_basic_descriptor_t *entry, const void *chain_head)
Promote a LINKFIX entry from LEMPTY to LINKFIX with chain-head PTR.
ra8_eth_gwca_step_t
Step values bumped through g_ra8_eth_gwca_open_step, g_ra8_eth_gwca_pre_step, and g_ra8_eth_gwca_brin...
@ k_ra8_eth_gwca_step_fail_6
RA8 Ethernet gwca step fail 6.
@ k_ra8_eth_gwca_step_fail_2
RA8 Ethernet gwca step fail 2.
@ k_ra8_eth_gwca_step_fail_5
RA8 Ethernet gwca step fail 5.
@ k_ra8_eth_gwca_step_ok_6
RA8 Ethernet gwca step ok 6.
@ k_ra8_eth_gwca_step_ok_3
RA8 Ethernet gwca step ok 3.
@ k_ra8_eth_gwca_step_fail_4
RA8 Ethernet gwca step fail 4.
@ k_ra8_eth_gwca_step_ok_2
RA8 Ethernet gwca step ok 2.
@ k_ra8_eth_gwca_step_ok_5
RA8 Ethernet gwca step ok 5.
@ k_ra8_eth_gwca_step_fail_1
RA8 Ethernet gwca step fail 1.
@ k_ra8_eth_gwca_step_ok_4
RA8 Ethernet gwca step ok 4.
@ k_ra8_eth_gwca_step_fail_3
RA8 Ethernet gwca step fail 3.
@ k_ra8_eth_gwca_step_ok_1
RA8 Ethernet gwca step ok 1.
8-byte basic descriptor (HUM Ch 34.5.1.2 "General Formats").