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

Per-run capture the calibration shims fill for the verify pass. More...

Collaboration diagram for tc_capture_t:

Data Fields

display_handle_tdisp
 Live panel handle.
ra8_touch_cal_point_t targets [k_ra8_touch_cal_n_targets]
 Drawn targets.
ra8_touch_cal_point_t raws [k_ra8_touch_cal_n_targets]
 Captured raws.
uint8_t n_drawn
 Targets drawn.
uint8_t n_read
 Raws captured.

Detailed Description

Per-run capture the calibration shims fill for the verify pass.

ra8_touch_cal_run owns the target layout and the collect loop; it does not hand the raw samples back. The draw shim records each target and the read shim records each raw sample into this struct (shared as both shim contexts), so once the matrix is solved the app can re-apply it to the same raws and measure the residual.

Invariant
n_drawn and n_read never exceed k_ra8_touch_cal_n_targets.

Definition at line 135 of file main.c.

Field Documentation

◆ disp

display_handle_t* tc_capture_t::disp

Live panel handle.

Definition at line 136 of file main.c.

Referenced by internal_tc_apply_and_measure(), and internal_tc_draw_target().

◆ n_drawn

uint8_t tc_capture_t::n_drawn

Targets drawn.

Definition at line 139 of file main.c.

Referenced by internal_tc_draw_target().

◆ n_read

uint8_t tc_capture_t::n_read

Raws captured.

Definition at line 140 of file main.c.

Referenced by internal_tc_apply_and_measure(), and internal_tc_read_raw().

◆ raws

Captured raws.

Definition at line 138 of file main.c.

Referenced by internal_tc_apply_and_measure(), and internal_tc_read_raw().

◆ targets

Drawn targets.

Definition at line 137 of file main.c.

Referenced by internal_tc_apply_and_measure(), and internal_tc_draw_target().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hil_needs_revalidation/touch_cal/src/main.c