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

File-scope panel context. More...

Collaboration diagram for ra8_epaper_panel_t:

Data Fields

ra8_epaper_cfg_t cfg
 Copy of init cfg.
ra8_epaper_dev_info_t info
 Decoded GET_DEV_INFO from init.
ra8_epaper_state_t state
 Current lifecycle state.
uint16_t vcom_mv
 Last verified VCOM magnitude, mV.
bool vcom_verified
 INV-VCOM-1 permit; see.

Detailed Description

File-scope panel context.

Static allocation only; we keep one panel per build. cfg is copied from the caller-supplied descriptor at ra8_epaper_init.

vcom_verified is the INV-VCOM-1 permit: it is the single piece of state that decides whether ra8_epaper_display_area is allowed to bias the film at all. It is cleared at init and set only by a ra8_epaper_set_vcom whose readback matched what was written, so no sequence of calls can obtain the permit without the controller having confirmed the value.

Invariant
vcom_verified implies vcom_mv is the magnitude the controller echoed back, and state is k_ra8_epaper_state_ready.

Definition at line 182 of file ra8_epaper.c.

Field Documentation

◆ cfg

ra8_epaper_cfg_t ra8_epaper_panel_t::cfg

Copy of init cfg.

Definition at line 183 of file ra8_epaper.c.

◆ info

ra8_epaper_dev_info_t ra8_epaper_panel_t::info

Decoded GET_DEV_INFO from init.

Definition at line 184 of file ra8_epaper.c.

◆ state

ra8_epaper_state_t ra8_epaper_panel_t::state

Current lifecycle state.

Definition at line 185 of file ra8_epaper.c.

◆ vcom_mv

uint16_t ra8_epaper_panel_t::vcom_mv

Last verified VCOM magnitude, mV.

Definition at line 186 of file ra8_epaper.c.

◆ vcom_verified

bool ra8_epaper_panel_t::vcom_verified

INV-VCOM-1 permit; see.

Invariant
.

Definition at line 187 of file ra8_epaper.c.


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