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

Decoded per-unit payload (the 96-byte record body). More...

#include <ra8_devcfg.h>

Data Fields

char serial [k_ra8_devcfg_serial_len]
 Unit serial, NUL-padded.
char panel_serial [k_ra8_devcfg_panel_serial_len]
 Panel identity, NUL-padded.
char panel_lut_id [k_ra8_devcfg_panel_lut_len]
 Panel LUT id from GET_DEV_INFO.
uint8_t touch_cal [k_ra8_devcfg_touch_cal_len]
 ra8_touch_cal_save() blob.
uint32_t mfg_date
 Packed YYYYMMDD.
uint32_t device_key_id
 Key identifier; NEVER key data.
uint16_t hw_rev
 Board revision.
uint16_t fixture_id
 Provisioning-line fixture id.
uint16_t panel_vcom_mv
 VCOM magnitude, mV (sign -ve).

Detailed Description

Decoded per-unit payload (the 96-byte record body).

The in-memory form of the serialised body. touch_cal carries the exact 36-byte blob produced by ra8_touch_cal_save – this record is that blob's durable home.

Note
device_key_id is an IDENTIFIER ONLY, never key material: there is no working key-wrapping engine on this silicon and the debug port is open (#244), so a private key here would be plaintext to anyone with physical access. Adding real key storage later is a schema_version bump, not a redesign.
Invariant
panel_vcom_mv is a VCOM magnitude in millivolts; VCOM is negative and the sign is implicit (2300 => -2.30 V), matching the IT8951 0x0039 command encoding.
See also
ra8_devcfg_get_body

Definition at line 206 of file ra8_devcfg.h.

Field Documentation

◆ device_key_id

uint32_t ra8_devcfg_body_t::device_key_id

Key identifier; NEVER key data.

Definition at line 212 of file ra8_devcfg.h.

◆ fixture_id

uint16_t ra8_devcfg_body_t::fixture_id

Provisioning-line fixture id.

Definition at line 214 of file ra8_devcfg.h.

◆ hw_rev

uint16_t ra8_devcfg_body_t::hw_rev

Board revision.

Definition at line 213 of file ra8_devcfg.h.

◆ mfg_date

uint32_t ra8_devcfg_body_t::mfg_date

Packed YYYYMMDD.

Definition at line 211 of file ra8_devcfg.h.

◆ panel_lut_id

char ra8_devcfg_body_t::panel_lut_id[k_ra8_devcfg_panel_lut_len]

Panel LUT id from GET_DEV_INFO.

Definition at line 209 of file ra8_devcfg.h.

◆ panel_serial

char ra8_devcfg_body_t::panel_serial[k_ra8_devcfg_panel_serial_len]

Panel identity, NUL-padded.

Definition at line 208 of file ra8_devcfg.h.

◆ panel_vcom_mv

uint16_t ra8_devcfg_body_t::panel_vcom_mv

VCOM magnitude, mV (sign -ve).

Definition at line 215 of file ra8_devcfg.h.

◆ serial

char ra8_devcfg_body_t::serial[k_ra8_devcfg_serial_len]

Unit serial, NUL-padded.

Definition at line 207 of file ra8_devcfg.h.

◆ touch_cal

uint8_t ra8_devcfg_body_t::touch_cal[k_ra8_devcfg_touch_cal_len]

ra8_touch_cal_save() blob.

Definition at line 210 of file ra8_devcfg.h.


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