ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_touch_gt911_regs.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
70
85
94
104
115
130
131#ifdef __cplusplus
132}
133#endif
ra8_touch_gt911_cmd_t
Values written into k_ra8_touch_gt911_reg_command.
@ k_ra8_touch_gt911_cmd_software_reset
Soft reset.
@ k_ra8_touch_gt911_cmd_clear_status
Acknowledge a touch frame.
ra8_touch_gt911_point_offset_t
Byte offsets of each field inside one 8-byte point record.
@ k_ra8_touch_gt911_point_off_track
track_id field.
@ k_ra8_touch_gt911_point_off_size_msb
Size high byte.
@ k_ra8_touch_gt911_point_off_reserved
Always 0.
@ k_ra8_touch_gt911_point_off_y_lsb
Y low byte.
@ k_ra8_touch_gt911_point_off_size_lsb
Size low byte.
@ k_ra8_touch_gt911_point_off_y_msb
Y high byte.
@ k_ra8_touch_gt911_point_off_x_lsb
X low byte.
@ k_ra8_touch_gt911_point_off_x_msb
X high byte.
ra8_touch_gt911_geometry_t
Compile-time geometry constants for the controller.
@ k_ra8_touch_gt911_max_points
Max simultaneous contacts.
@ k_ra8_touch_gt911_point_bytes
Bytes per per-point record.
@ k_ra8_touch_gt911_id_bytes
Length of PRODUCT_ID payload.
@ k_ra8_touch_gt911_reg_ptr_bytes
16-bit register-pointer width.
ra8_touch_gt911_status_mask_t
Bit layout of the status byte at k_ra8_touch_gt911_reg_status.
@ k_ra8_touch_gt911_status_ready_mask
bit7 buffer-ready.
@ k_ra8_touch_gt911_status_large_mask
bit6 large-detect.
@ k_ra8_touch_gt911_status_count_mask
bits[3:0] active touch count.
ra8_touch_gt911_addr_t
I2C target addresses for the GT911.
@ k_ra8_touch_gt911_addr_high
Alternate 7-bit target address.
@ k_ra8_touch_gt911_addr_low
Default 7-bit target address.
ra8_touch_gt911_reg_t
16-bit register pointers used by the driver.
@ k_ra8_touch_gt911_reg_product
4-byte product id.
@ k_ra8_touch_gt911_reg_command
Command register.
@ k_ra8_touch_gt911_reg_firmware
Firmware revision.
@ k_ra8_touch_gt911_reg_yres
Reported Y resolution.
@ k_ra8_touch_gt911_reg_config
First byte of config block.
@ k_ra8_touch_gt911_reg_xres
Reported X resolution.
@ k_ra8_touch_gt911_reg_status
Status / point-count byte.
@ k_ra8_touch_gt911_reg_point0
First per-point record.