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

Bench-readable diagnostic counters for the NetX link driver. More...

Data Fields

uint32_t dispatch_total
 total dispatches into the driver.
uint32_t init_total
 NX_LINK_INITIALIZE dispatches.
uint32_t enable_total
 NX_LINK_ENABLE dispatches.
uint32_t send_total
 NX_LINK_PACKET_SEND/_BROADCAST dispatches.
uint32_t rx_total
 NX_LINK_DEFERRED_PROCESSING dispatches.
uint32_t status_total
 NX_LINK_GET_STATUS dispatches.
uint32_t last_cmd
 Most recent driver command code.
uint32_t init_last_status
 Last NetX status internal_handle_init set.
uint32_t send_last_status
 Last NetX status internal_handle_send set.
uint32_t enable_last_link_up
 1 = last set_link_state was UP.
uint32_t init_ra8_eth_open_err
 Last ra8_eth_open return code.
uint32_t init_iface_null_hits
 Times INITIALIZE saw a NULL interface.

Detailed Description

Bench-readable diagnostic counters for the NetX link driver.

Module-internal counters incremented at every dispatch path into the driver. Read from JLink memprobe / TaskOutput to confirm whether NetX is actually exercising the link driver.

Invariant
Each counter is mutated only from the NetX IP thread.
// JLink: mem32 &g_nx_ether_diag 12
See also
g_nx_ether_diag
Since
0.1.0

Definition at line 252 of file nx_ether_driver_ra8_eth.c.

Field Documentation

◆ dispatch_total

uint32_t nx_ether_diag_t::dispatch_total

total dispatches into the driver.

Definition at line 253 of file nx_ether_driver_ra8_eth.c.

◆ enable_last_link_up

uint32_t nx_ether_diag_t::enable_last_link_up

1 = last set_link_state was UP.

Definition at line 262 of file nx_ether_driver_ra8_eth.c.

◆ enable_total

uint32_t nx_ether_diag_t::enable_total

NX_LINK_ENABLE dispatches.

Definition at line 255 of file nx_ether_driver_ra8_eth.c.

◆ init_iface_null_hits

uint32_t nx_ether_diag_t::init_iface_null_hits

Times INITIALIZE saw a NULL interface.

Definition at line 264 of file nx_ether_driver_ra8_eth.c.

◆ init_last_status

uint32_t nx_ether_diag_t::init_last_status

Last NetX status internal_handle_init set.

Definition at line 260 of file nx_ether_driver_ra8_eth.c.

◆ init_ra8_eth_open_err

uint32_t nx_ether_diag_t::init_ra8_eth_open_err

Last ra8_eth_open return code.

Definition at line 263 of file nx_ether_driver_ra8_eth.c.

◆ init_total

uint32_t nx_ether_diag_t::init_total

NX_LINK_INITIALIZE dispatches.

Definition at line 254 of file nx_ether_driver_ra8_eth.c.

◆ last_cmd

uint32_t nx_ether_diag_t::last_cmd

Most recent driver command code.

Definition at line 259 of file nx_ether_driver_ra8_eth.c.

◆ rx_total

uint32_t nx_ether_diag_t::rx_total

NX_LINK_DEFERRED_PROCESSING dispatches.

Definition at line 257 of file nx_ether_driver_ra8_eth.c.

◆ send_last_status

uint32_t nx_ether_diag_t::send_last_status

Last NetX status internal_handle_send set.

Definition at line 261 of file nx_ether_driver_ra8_eth.c.

◆ send_total

uint32_t nx_ether_diag_t::send_total

NX_LINK_PACKET_SEND/_BROADCAST dispatches.

Definition at line 256 of file nx_ether_driver_ra8_eth.c.

◆ status_total

uint32_t nx_ether_diag_t::status_total

NX_LINK_GET_STATUS dispatches.

Definition at line 258 of file nx_ether_driver_ra8_eth.c.


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