Unit FT5x06Touch
From Ultibo.org
Return to Unit Reference
Contents
[hide]Description
EDT FocalTech FT5x06 I2C Touchscreen Driver unit
The EDT FocalTech FT5x06 I2C controllers are a range of capacitive touchscreen controllers that include multipoint touch support and are used by a variety of small LCD displays. The exact features and capability of each device can be found by checking the datasheets which can be obtained online.
This driver is compatible with the following devices:
edt,edt-ft5206 (5 touch points) edt,edt-ft5306 (5 touch points) edt,edt-ft5406 (5 touch points) edt,edt-ft5506 (10 touch points) evervision,ev-ft5726 (10 touch points) focaltech,ft6236 (2 touch points)
Constants
[Expand]
FT5x06 specific constants
FT5X06_TOUCH_*
[Expand]
FT5x06 I2C clock rate
FT5X06_I2C_*
[Expand]
FT5x06 registers
FT5X06_*_REGISTER_*
[Expand]
FT5x06 version
FT5X06_EDT_*
Type definitions
FT5x06 registers
FT5x06 parameters
FT5x06 touch
Public variables
FT5x06 specific variables
FT5X06_GAIN:Byte;
|
FT5X06_OFFSET:Byte;
|
FT5X06_OFFSET_X:Byte;
|
FT5X06_OFFSET_Y:Byte;
|
FT5X06_THRESHOLD:Byte;
|
FT5X06_SWAP_REPORT_XY:Boolean;
|
FT5X06_INVERT_REPORT_X:Boolean;
|
FT5X06_INVERT_REPORT_Y:Boolean;
|
FT5X06_MAX_TOUCH_POINTS:LongWord = 2;
|
Function declarations
Initialization functions
FT5x06 functions
[Expand]
function FT5X06TouchCreate(I2C:PI2CDevice; Address:Word; Width,Height:LongWord; IRQ,RST:PGPIOInfo):PTouchDevice;
Description: Create, register and start a new FT5x06 Touch device connected to the specified I2C device
[Expand]
function FT5X06TouchDestroy(Touch:PTouchDevice):LongWord;
Description: Stop, deregister and destroy a FT5x06 Touch device created by this driver
FT5x06 touch functions
[Expand]
function FT5X06TouchStart(Touch:PTouchDevice):LongWord;
Description: Implementation of TouchDeviceStart API for FT5x06 Touch device
[Expand]
function FT5X06TouchStop(Touch:PTouchDevice):LongWord;
Description: Implementation of TouchDeviceStop API for FT5x06 Touch device
[Expand]
function FT5X06TouchUpdate(Touch:PTouchDevice):LongWord;
Description: Implementation of TouchDeviceUpdate API for FT5x06 Touch device
[Expand]
procedure FT5X06TouchTimer(Touch:PFT5X06Touch);
Description: Touch device timer event handler for FT5x06 Touch device
[Expand]
procedure FT5X06TouchCallback(Touch:PFT5X06Touch; Pin,Trigger:LongWord);
Description: Touch device event callback (Interrupt) handler for FT5x06 Touch device
Return to Unit Reference