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

Configuration for ra8_touch_cal_run. More...

#include <ra8_touch_cal.h>

Collaboration diagram for ra8_touch_cal_run_cfg_t:

Data Fields

uint16_t screen_width
 Panel width, pixels.
uint16_t screen_height
 Panel height, pixels.
uint16_t inset_px
 Margin from panel edge to corner targets.
ra8_touch_cal_draw_target_fn_t draw_target
 Cross-hair painter.
void * draw_ctx
 Forwarded to painter.
ra8_touch_cal_read_raw_fn_t read_raw
 Raw sample reader.
void * read_ctx
 Forwarded to reader.

Detailed Description

Configuration for ra8_touch_cal_run.

The library does not include ra8_lcd.h or ra8_touch.h; the caller provides function-pointer shims, satisfying SOLID-D (Dependency Inversion) and keeping ra8_touch_cal host-testable without the register fake.

Definition at line 218 of file ra8_touch_cal.h.

Field Documentation

◆ draw_ctx

void* ra8_touch_cal_run_cfg_t::draw_ctx

Forwarded to painter.

Definition at line 224 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ draw_target

ra8_touch_cal_draw_target_fn_t ra8_touch_cal_run_cfg_t::draw_target

Cross-hair painter.

Definition at line 223 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ inset_px

uint16_t ra8_touch_cal_run_cfg_t::inset_px

Margin from panel edge to corner targets.

Definition at line 221 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ read_ctx

void* ra8_touch_cal_run_cfg_t::read_ctx

Forwarded to reader.

Definition at line 226 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ read_raw

ra8_touch_cal_read_raw_fn_t ra8_touch_cal_run_cfg_t::read_raw

Raw sample reader.

Definition at line 225 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ screen_height

uint16_t ra8_touch_cal_run_cfg_t::screen_height

Panel height, pixels.

Definition at line 220 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().

◆ screen_width

uint16_t ra8_touch_cal_run_cfg_t::screen_width

Panel width, pixels.

Definition at line 219 of file ra8_touch_cal.h.

Referenced by ra8_touch_cal_run().


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