Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DISCO_L496AG-LCD-prova_1 DISCO_L496AG-LCD-prova_2 DISCO_L496AG-LCD-demo DISCO_L496AG-SRAM-demo
ft6x06.h File Reference
This file contains all the functions prototypes for the ft6x06.c IO expander driver. More...
Go to the source code of this file.
Functions | |
| void | ft6x06_Init (uint16_t DeviceAddr) |
| ft6x06 Control functions | |
| void | ft6x06_Reset (uint16_t DeviceAddr) |
| Software Reset the ft6x06. | |
| uint16_t | ft6x06_ReadID (uint16_t DeviceAddr) |
| Read the ft6x06 device ID, pre intitalize I2C in case of need to be able to read the FT6206 device ID, and verify this is a FT6206. | |
| void | ft6x06_TS_Start (uint16_t DeviceAddr) |
| Configures the touch Screen IC device to start detecting touches. | |
| uint8_t | ft6x06_TS_DetectTouch (uint16_t DeviceAddr) |
| Return if there is touches detected or not. | |
| void | ft6x06_TS_GetXY (uint16_t DeviceAddr, uint16_t *X, uint16_t *Y) |
| Get the touch screen X and Y positions values Manage multi touch thanks to touch Index global variable 'ft6x06_handle.currActiveTouchIdx'. | |
| void | ft6x06_TS_EnableIT (uint16_t DeviceAddr) |
| Configure the FT6206 device to generate IT on given INT pin connected to MCU as EXTI. | |
| void | ft6x06_TS_DisableIT (uint16_t DeviceAddr) |
| Configure the FT6206 device to stop generating IT on the given INT pin connected to MCU as EXTI. | |
| uint8_t | ft6x06_TS_ITStatus (uint16_t DeviceAddr) |
| Get IT status from FT6206 interrupt status registers Should be called Following an EXTI coming to the MCU to know the detailed reason of the interrupt. | |
| void | ft6x06_TS_ClearIT (uint16_t DeviceAddr) |
| Clear IT status in FT6206 interrupt status clear registers Should be called Following an EXTI coming to the MCU. | |
| void | ft6x06_TS_GetGestureID (uint16_t DeviceAddr, uint32_t *pGestureId) |
| Get the last touch gesture identification (zoom, move up/down...). | |
| void | ft6x06_TS_GetTouchInfo (uint16_t DeviceAddr, uint32_t touchIdx, uint32_t *pWeight, uint32_t *pArea, uint32_t *pEvent) |
Get the touch detailed informations on touch number 'touchIdx' (0..1) This touch detailed information contains :
| |
| void | TS_IO_Init (void) |
| Initializes Touchscreen low level. | |
| void | TS_IO_Write (uint8_t Addr, uint8_t Reg, uint8_t Value) |
| Writes a single data. | |
| uint8_t | TS_IO_Read (uint8_t Addr, uint8_t Reg) |
| Reads a single data. | |
| uint16_t | TS_IO_ReadMultiple (uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length) |
| Reads multiple data with I2C communication channel from TouchScreen. | |
| void | TS_IO_Delay (uint32_t Delay) |
| Delay function used in TouchScreen low level driver. | |
Detailed Description
This file contains all the functions prototypes for the ft6x06.c IO expander driver.
- Attention:
© Copyright (c) 2016 STMicroelectronics. All rights reserved.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file ft6x06.h.
Generated on Tue Jul 12 2022 15:07:45 by
1.7.2