Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_FT5X06_TOUCH Struct Reference

#include <ft5x06touch.h>

Data Fields

TOUCH_DEVICE touch
I2C_DEVICEi2c
 The I2C device this device is connected to.
uint16_t address
 The I2C address of the device.
GPIO_INFO irq
 The GPIO information for the IRQ line (Optional).
GPIO_INFO rst
 The GPIO information for the Reset line (Optional).
TIMER_HANDLE timer
 Handle for touch polling timer.
uint16_t maxx
 Maximum X value from current configuration.
uint16_t maxy
 Maximum Y value from current configuration.
uint16_t width
 Screen width value supplied during create.
uint16_t height
 Screen height value supplied during create.
uint32_t maxpoints
 Maximum touch points for this device.
uint32_t lastpoints
 Points reported in last input report.
uint32_t version
 Version constant for this device (eg FT5X06_EDT_M06).
char * modelname
 Model name string for this device.
char * firmwareversion
 Firmware version string for this device.
FT5X06_REGISTERS registers
 Register addresses for this device.
FT5X06_PARAMETERS parameters
 Configuration parameters for this device.
BOOL swapreportxy
 If True swap the X and Y values in the input report.
BOOL invertreportx
 If True invert the X value in the input report.
BOOL invertreporty
 If True invert the Y value in the input report.

Field Documentation

◆ touch

TOUCH_DEVICE touch

◆ i2c

I2C_DEVICE* i2c

The I2C device this device is connected to.

◆ address

uint16_t address

The I2C address of the device.

◆ irq

GPIO_INFO irq

The GPIO information for the IRQ line (Optional).

◆ rst

GPIO_INFO rst

The GPIO information for the Reset line (Optional).

◆ timer

TIMER_HANDLE timer

Handle for touch polling timer.

◆ maxx

uint16_t maxx

Maximum X value from current configuration.

◆ maxy

uint16_t maxy

Maximum Y value from current configuration.

◆ width

uint16_t width

Screen width value supplied during create.

◆ height

uint16_t height

Screen height value supplied during create.

◆ maxpoints

uint32_t maxpoints

Maximum touch points for this device.

◆ lastpoints

uint32_t lastpoints

Points reported in last input report.

◆ version

uint32_t version

Version constant for this device (eg FT5X06_EDT_M06).

◆ modelname

char* modelname

Model name string for this device.

◆ firmwareversion

char* firmwareversion

Firmware version string for this device.

◆ registers

FT5X06_REGISTERS registers

Register addresses for this device.

◆ parameters

FT5X06_PARAMETERS parameters

Configuration parameters for this device.

◆ swapreportxy

BOOL swapreportxy

If True swap the X and Y values in the input report.

◆ invertreportx

BOOL invertreportx

If True invert the X value in the input report.

◆ invertreporty

BOOL invertreporty

If True invert the Y value in the input report.


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