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

Driver-private state slot. More...

Collaboration diagram for ra8_touch_state_t:

Data Fields

ra8_touch_event_fn_t cb
 Registered callback or NULL.
void * ctx
 Callback context.
ra8_i2c_bus_ops_t bus
 Injected I2C transfer seam.
uint8_t target_7b
 7-bit GT911 address.
uint8_t max_points
 Cap on touches reported.
uint8_t irq_pin
 IRQ pin or k_ra8_touch_irq_pin_unset.
bool opened
 True between open() and close().

Detailed Description

Driver-private state slot.

Definition at line 51 of file ra8_touch.c.

Field Documentation

◆ bus

ra8_i2c_bus_ops_t ra8_touch_state_t::bus

Injected I2C transfer seam.

Definition at line 54 of file ra8_touch.c.

◆ cb

ra8_touch_event_fn_t ra8_touch_state_t::cb

Registered callback or NULL.

Definition at line 52 of file ra8_touch.c.

◆ ctx

void* ra8_touch_state_t::ctx

Callback context.

Definition at line 53 of file ra8_touch.c.

◆ irq_pin

uint8_t ra8_touch_state_t::irq_pin

IRQ pin or k_ra8_touch_irq_pin_unset.

Definition at line 57 of file ra8_touch.c.

◆ max_points

uint8_t ra8_touch_state_t::max_points

Cap on touches reported.

Definition at line 56 of file ra8_touch.c.

◆ opened

bool ra8_touch_state_t::opened

True between open() and close().

Definition at line 58 of file ra8_touch.c.

◆ target_7b

uint8_t ra8_touch_state_t::target_7b

7-bit GT911 address.

Definition at line 55 of file ra8_touch.c.


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