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

Configuration descriptor for ra8_touch_open. More...

#include <ra8_touch.h>

Collaboration diagram for ra8_touch_cfg_t:

Data Fields

ra8_i2c_bus_ops_t bus
 Injected I2C transfer seam (app-bound).
uint8_t target_7b
 7-bit GT911 address (0x5D or 0x14).
uint8_t irq_pin
 IRQ pin 0..31, or k_ra8_touch_irq_pin_unset for polling-only.
uint8_t max_points
 Cap on touches reported (clamped to 5).

Detailed Description

Configuration descriptor for ra8_touch_open.

cppcheck cannot see tests/ so it flags every field as unused; each member is read in ra8_touch_open in libs/ra8_hal/src/ra8_touch.c.

Definition at line 109 of file ra8_touch.h.

Field Documentation

◆ bus

ra8_i2c_bus_ops_t ra8_touch_cfg_t::bus

Injected I2C transfer seam (app-bound).

Definition at line 110 of file ra8_touch.h.

Referenced by internal_stash_state(), and internal_validate_cfg().

◆ irq_pin

uint8_t ra8_touch_cfg_t::irq_pin

IRQ pin 0..31, or k_ra8_touch_irq_pin_unset for polling-only.

Definition at line 112 of file ra8_touch.h.

Referenced by internal_open_finalise(), and internal_stash_state().

◆ max_points

uint8_t ra8_touch_cfg_t::max_points

Cap on touches reported (clamped to 5).

Definition at line 114 of file ra8_touch.h.

Referenced by internal_stash_state().

◆ target_7b

uint8_t ra8_touch_cfg_t::target_7b

7-bit GT911 address (0x5D or 0x14).

Definition at line 111 of file ra8_touch.h.

Referenced by internal_stash_state(), and internal_validate_cfg().


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