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

Every field this application read out of the RPC response. More...

Data Fields

uint32_t uid
 UID echoed back by the co-processor.
int32_t resp
 Co-processor result code; 0 is ok.
uint32_t major
 Firmware major version.
uint32_t minor
 Firmware minor version.
uint32_t patch
 Firmware patch version.
uint32_t chip_id
 CONFIG_IDF_FIRMWARE_CHIP_ID.
uint8_t target [k_c6_fwver_text_max]
 CONFIG_IDF_TARGET, truncated.
uint8_t target_len
 Bytes held in target.
bool seen
 A matching response was decoded.

Detailed Description

Every field this application read out of the RPC response.

Recorded rather than judged on arrival, so the verdict can print what it saw next to what it expected. A response whose fields are never shown is the same non-evidence as a check that never fails.

Invariant
seen is false until a response addressed to this request's UID has been decoded; every other field is meaningless until it is true.
target_len never exceeds the capacity of target.
Example:
void c6_fwver_put_u32(uint32_t value)
Emit an unsigned 32-bit value in decimal.
static c6_fwver_rsp_t s_c6_fwver_rsp
The one response this application is waiting for.
See also
c6_fwver_rpc_report
Since
0.1.0

Definition at line 111 of file c6_fwver_rpc.c.

Field Documentation

◆ chip_id

uint32_t c6_fwver_rsp::chip_id

CONFIG_IDF_FIRMWARE_CHIP_ID.

Definition at line 117 of file c6_fwver_rpc.c.

◆ major

uint32_t c6_fwver_rsp::major

Firmware major version.

Definition at line 114 of file c6_fwver_rpc.c.

◆ minor

uint32_t c6_fwver_rsp::minor

Firmware minor version.

Definition at line 115 of file c6_fwver_rpc.c.

◆ patch

uint32_t c6_fwver_rsp::patch

Firmware patch version.

Definition at line 116 of file c6_fwver_rpc.c.

◆ resp

int32_t c6_fwver_rsp::resp

Co-processor result code; 0 is ok.

Definition at line 113 of file c6_fwver_rpc.c.

◆ seen

bool c6_fwver_rsp::seen

A matching response was decoded.

Definition at line 120 of file c6_fwver_rpc.c.

◆ target

uint8_t c6_fwver_rsp::target[k_c6_fwver_text_max]

CONFIG_IDF_TARGET, truncated.

Definition at line 118 of file c6_fwver_rpc.c.

◆ target_len

uint8_t c6_fwver_rsp::target_len

Bytes held in target.

Definition at line 119 of file c6_fwver_rpc.c.

◆ uid

uint32_t c6_fwver_rsp::uid

UID echoed back by the co-processor.

Definition at line 112 of file c6_fwver_rpc.c.


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