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

Injected non-volatile store for the calibration record. More...

#include <ra8_epd_cal.h>

Data Fields

ra8_epd_cal_nv_read_fn_t read
 Record read seam; may be NULL.
ra8_epd_cal_nv_write_fn_t write
 Record write seam; may be NULL.
void * ctx
 Opaque context for both.

Detailed Description

Injected non-volatile store for the calibration record.

A store with a NULL read is legal and simply means "no per-device record on this build" – the resolver skips that source rather than failing, so a board without data flash still resolves from the controller or from provisioning.

Invariant
read and write are either NULL or callable for the lifetime of every resolve / provision call.
Example:
const ra8_epd_cal_store_t store = {.read = my_read, .write = my_write,
.ctx = nullptr};
Injected non-volatile store for the calibration record.
See also
ra8_epd_cal_resolve

Definition at line 381 of file ra8_epd_cal.h.

Field Documentation

◆ ctx

void* ra8_epd_cal_store_t::ctx

Opaque context for both.

Definition at line 384 of file ra8_epd_cal.h.

Referenced by internal_ra8_epd_cal_read_record(), and ra8_epd_cal_provision().

◆ read

ra8_epd_cal_nv_read_fn_t ra8_epd_cal_store_t::read

Record read seam; may be NULL.

Definition at line 382 of file ra8_epd_cal.h.

Referenced by internal_ra8_epd_cal_read_record().

◆ write

ra8_epd_cal_nv_write_fn_t ra8_epd_cal_store_t::write

Record write seam; may be NULL.

Definition at line 383 of file ra8_epd_cal.h.

Referenced by ra8_epd_cal_provision().


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