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

What the co-processor said when a request did not succeed. More...

#include <ra8_c6link.h>

Data Fields

uint32_t rpc_id
 RPC_ID__Req_* of the request that failed, or zero.
int32_t resp
 The co-processor's result code, or zero if none.

Detailed Description

What the co-processor said when a request did not succeed.

Recorded per handle by every request this library issues, so a bring-up can print which request failed and what the far side thought rather than one opaque error code. A successful request clears it.

Invariant
rpc_id is zero exactly when no request has failed since open.
resp is the co-processor's own result code, which is an esp_err_t on the far side; zero means it succeeded.
Example:
(void)ra8_c6link_last_fault(&link, &f);
See also
ra8_c6link_last_fault
Since
0.1.0

Definition at line 332 of file ra8_c6link.h.

Field Documentation

◆ resp

int32_t ra8_c6link_fault::resp

The co-processor's result code, or zero if none.

Definition at line 334 of file ra8_c6link.h.

Referenced by c6_wifi_report_fault(), priv_c6link_resp(), and priv_c6link_rpc_call().

◆ rpc_id

uint32_t ra8_c6link_fault::rpc_id

RPC_ID__Req_* of the request that failed, or zero.

Definition at line 333 of file ra8_c6link.h.

Referenced by c6_wifi_report_fault(), priv_c6link_resp(), and priv_c6link_rpc_call().


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