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

Decoded per-device calibration record. More...

#include <ra8_epd_cal.h>

Data Fields

uint16_t vcom_mv
 VCOM magnitude in millivolts (e.g.
uint8_t schema_version
 Schema the record was written under.

Detailed Description

Decoded per-device calibration record.

The in-memory form of the serialised blob. schema_version is carried through so a caller can tell a freshly written record from one migrated off an older schema.

Invariant
vcom_mv is the panel's VCOM magnitude in millivolts (VCOM itself is negative; the sign is implicit).
schema_version <= k_ra8_epd_cal_schema_version.
Example:
ra8_epd_cal_record_t rec = {.vcom_mv = 1530U,
.schema_version = k_ra8_epd_cal_schema_version};
@ k_ra8_epd_cal_schema_version
Current on-flash schema version.
Decoded per-device calibration record.
See also
ra8_epd_cal_serialize
ra8_epd_cal_deserialize

Definition at line 305 of file ra8_epd_cal.h.

Field Documentation

◆ schema_version

uint8_t ra8_epd_cal_record_t::schema_version

Schema the record was written under.

Definition at line 307 of file ra8_epd_cal.h.

Referenced by ra8_epd_cal_deserialize().

◆ vcom_mv

uint16_t ra8_epd_cal_record_t::vcom_mv

VCOM magnitude in millivolts (e.g.

1530).

Definition at line 306 of file ra8_epd_cal.h.

Referenced by internal_ra8_epd_cal_try_record(), ra8_epd_cal_deserialize(), and ra8_epd_cal_serialize().


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