ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_board_ek_ra8d2_touch.h
Go to the documentation of this file.
1
48
49#pragma once
50
51#ifdef __cplusplus
52extern "C" {
53#endif
54
55#include <stdint.h>
56
57#include "ra8_err.h"
58
83typedef struct {
84 uint8_t max_points;
86 uint8_t irq_pin;
91
136
137#ifdef __cplusplus
138}
139#endif
ra8_err_t ra8_board_touch_open(const ra8_board_touch_cfg_t *cfg)
Bring the on-board GT911 up and open the touch driver against it.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546
The two touch settings that are an APPLICATION choice, not a board fact.
uint8_t irq_pin
Attention pin, or k_ra8_touch_irq_pin_unset for a polled controller.
uint8_t max_points
Cap on reported contacts; 0 selects the board default (the GT911's full k_ra8_touch_max_points capaci...