Select one of the symbols to view example projects that use it.
 
Outline
#define __FT6XX6_H
#define TS_MULTI_TOUCH_SUPPORTED
#define TS_AUTO_CALIBRATION_SUPPORTED
Includes
#include "../Common/ts.h"
Macros
ft6x06_handle_TypeDef
Exported types
Exported constants
#define FT_6206_MAX_WIDTH
#define FT_6206_MAX_HEIGHT
#define FT_6206_MAX_WIDTH_HEIGHT
#define FT6206_STATUS_OK
#define FT6206_STATUS_NOT_OK
#define FT6206_I2C_NOT_INITIALIZED
#define FT6206_I2C_INITIALIZED
#define FT6206_MAX_DETECTABLE_TOUCH
#define FT6206_DEV_MODE_REG
#define FT6206_DEV_MODE_WORKING
#define FT6206_DEV_MODE_FACTORY
#define FT6206_DEV_MODE_MASK
#define FT6206_DEV_MODE_SHIFT
#define FT6206_GEST_ID_REG
#define FT6206_GEST_ID_NO_GESTURE
#define FT6206_GEST_ID_MOVE_UP
#define FT6206_GEST_ID_MOVE_RIGHT
#define FT6206_GEST_ID_MOVE_DOWN
#define FT6206_GEST_ID_MOVE_LEFT
#define FT6206_GEST_ID_ZOOM_IN
#define FT6206_GEST_ID_ZOOM_OUT
#define FT6206_TD_STAT_REG
#define FT6206_TD_STAT_MASK
#define FT6206_TD_STAT_SHIFT
#define FT6206_TOUCH_EVT_FLAG_PRESS_DOWN
#define FT6206_TOUCH_EVT_FLAG_LIFT_UP
#define FT6206_TOUCH_EVT_FLAG_CONTACT
#define FT6206_TOUCH_EVT_FLAG_NO_EVENT
#define FT6206_TOUCH_EVT_FLAG_SHIFT
#define FT6206_TOUCH_EVT_FLAG_MASK
#define FT6206_MSB_MASK
#define FT6206_MSB_SHIFT
#define FT6206_LSB_MASK
#define FT6206_LSB_SHIFT
#define FT6206_P1_XH_REG
#define FT6206_P1_XL_REG
#define FT6206_P1_YH_REG
#define FT6206_P1_YL_REG
#define FT6206_P1_WEIGHT_REG
#define FT6206_TOUCH_WEIGHT_MASK
#define FT6206_TOUCH_WEIGHT_SHIFT
#define FT6206_P1_MISC_REG
#define FT6206_TOUCH_AREA_MASK
#define FT6206_TOUCH_AREA_SHIFT
#define FT6206_P2_XH_REG
#define FT6206_P2_XL_REG
#define FT6206_P2_YH_REG
#define FT6206_P2_YL_REG
#define FT6206_P2_WEIGHT_REG
#define FT6206_P2_MISC_REG
#define FT6206_TH_GROUP_REG
#define FT6206_THRESHOLD_MASK
#define FT6206_THRESHOLD_SHIFT
#define FT6206_TH_DIFF_REG
#define FT6206_CTRL_REG
#define FT6206_CTRL_KEEP_ACTIVE_MODE
#define FT6206_CTRL_KEEP_AUTO_SWITCH_MONITOR_MODE
#define FT6206_TIMEENTERMONITOR_REG
#define FT6206_PERIODACTIVE_REG
#define FT6206_PERIODMONITOR_REG
#define FT6206_RADIAN_VALUE_REG
#define FT6206_OFFSET_LEFT_RIGHT_REG
#define FT6206_OFFSET_UP_DOWN_REG
#define FT6206_DISTANCE_LEFT_RIGHT_REG
#define FT6206_DISTANCE_UP_DOWN_REG
#define FT6206_DISTANCE_ZOOM_REG
#define FT6206_LIB_VER_H_REG
#define FT6206_LIB_VER_L_REG
#define FT6206_CIPHER_REG
#define FT6206_GMODE_REG
#define FT6206_G_MODE_INTERRUPT_MASK
#define FT6206_G_MODE_INTERRUPT_SHIFT
#define FT6206_G_MODE_INTERRUPT_POLLING
#define FT6206_G_MODE_INTERRUPT_TRIGGER
#define FT6206_PWR_MODE_REG
#define FT6206_FIRMID_REG
#define FT6206_CHIP_ID_REG
#define FT6206_ID_VALUE
#define FT6x36_ID_VALUE
#define FT6X36_ID2_VALUE
#define FT6206_RELEASE_CODE_ID_REG
#define FT6206_STATE_REG
Exported macro
Exported functions
ft6x06_Init(uint16_t);
ft6x06_Reset(uint16_t);
ft6x06_ReadID(uint16_t);
ft6x06_TS_Start(uint16_t);
ft6x06_TS_DetectTouch(uint16_t);
ft6x06_TS_GetXY(uint16_t, uint16_t *, uint16_t *);
ft6x06_TS_EnableIT(uint16_t);
ft6x06_TS_DisableIT(uint16_t);
ft6x06_TS_ITStatus(uint16_t);
ft6x06_TS_ClearIT(uint16_t);
ft6x06_TS_GetGestureID(uint16_t, uint32_t *);
ft6x06_TS_GetTouchInfo(uint16_t, uint32_t, uint32_t *, uint32_t *, uint32_t *);
Imported TS IO functions
TS_IO_Init();
TS_IO_Write(uint8_t, uint8_t, uint8_t);
TS_IO_Read(uint8_t, uint8_t);
TS_IO_ReadMultiple(uint8_t, uint8_t, uint8_t *, uint16_t);
TS_IO_Delay(uint32_t);
ft6x06_ts_drv;
Files
loading...
CodeScopeSTM32 Libraries and Samplesft6x06ft6x06.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file ft6x06.h * @author MCD Application Team * @brief This file contains all the functions prototypes for the * ft6x06.c IO expander driver. ****************************************************************************** * @attention * * Copyright (c) 2016 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __FT6XX6_H #define __FT6XX6_H #ifdef __cplusplus extern "C" { #endif /* Set Multi-touch as non supported */ #ifndef TS_MULTI_TOUCH_SUPPORTED #define TS_MULTI_TOUCH_SUPPORTED 0 #endif /* Set Auto-calibration as non supported */ #ifndef TS_AUTO_CALIBRATION_SUPPORTED #define TS_AUTO_CALIBRATION_SUPPORTED 0 #endif /* Includes ------------------------------------------------------------------*/ #include "../Common/ts.h" Includes /* Macros --------------------------------------------------------------------*/ /** @typedef ft6x06_handle_TypeDef * ft6x06 Handle definition. *//* ... */ typedef struct { uint8_t i2cInitialized; /* field holding the current number of simultaneous active touches */ uint8_t currActiveTouchNb; /* field holding the touch index currently managed */ uint8_t currActiveTouchIdx; ...} ft6x06_handle_TypeDef; /** @addtogroup BSP * @{ *//* ... */ /** @addtogroup Component * @{ *//* ... */ /** @defgroup FT6XX6 * @{ *//* ... */ Macros /* Exported types ------------------------------------------------------------*/ /** @defgroup FT6XX6_Exported_Types * @{ *//* ... */ Exported types /* Exported constants --------------------------------------------------------*/ /** @defgroup FT6XX6_Exported_Constants * @{ *//* ... */ /* Maximum border values of the touchscreen pad */ #define FT_6206_MAX_WIDTH ((uint16_t)800) /* Touchscreen pad max width */ #define FT_6206_MAX_HEIGHT ((uint16_t)480) /* Touchscreen pad max height */ /* Touchscreen pad max width and height values for FT6xx6 Touch*/ #define FT_6206_MAX_WIDTH_HEIGHT ((uint16_t)240) /* Possible values of driver functions return status */ #define FT6206_STATUS_OK 0 #define FT6206_STATUS_NOT_OK 1 /* Possible values of global variable 'TS_I2C_Initialized' */ #define FT6206_I2C_NOT_INITIALIZED 0 #define FT6206_I2C_INITIALIZED 1 /* Max detectable simultaneous touches */ #define FT6206_MAX_DETECTABLE_TOUCH 2 /** * @brief : Definitions for FT6xx6 I2C register addresses on 8 bit **//* ... */ /* Current mode register of the FT6xx6 (R/W) */ #define FT6206_DEV_MODE_REG 0x00 /* Possible values of FT6206_DEV_MODE_REG */ #define FT6206_DEV_MODE_WORKING 0x00 #define FT6206_DEV_MODE_FACTORY 0x04 #define FT6206_DEV_MODE_MASK 0x7 #define FT6206_DEV_MODE_SHIFT 4 /* Gesture ID register */ #define FT6206_GEST_ID_REG 0x01 /* Possible values of FT6206_GEST_ID_REG */ #define FT6206_GEST_ID_NO_GESTURE 0x00 #define FT6206_GEST_ID_MOVE_UP 0x10 #define FT6206_GEST_ID_MOVE_RIGHT 0x14 #define FT6206_GEST_ID_MOVE_DOWN 0x18 #define FT6206_GEST_ID_MOVE_LEFT 0x1C #define FT6206_GEST_ID_ZOOM_IN 0x48 #define FT6206_GEST_ID_ZOOM_OUT 0x49 /* Touch Data Status register : gives number of active touch points (0..2) */ #define FT6206_TD_STAT_REG 0x02 /* Values related to FT6206_TD_STAT_REG */ #define FT6206_TD_STAT_MASK 0x0F #define FT6206_TD_STAT_SHIFT 0x00 /* Values Pn_XH and Pn_YH related */ #define FT6206_TOUCH_EVT_FLAG_PRESS_DOWN 0x00 #define FT6206_TOUCH_EVT_FLAG_LIFT_UP 0x01 #define FT6206_TOUCH_EVT_FLAG_CONTACT 0x02 #define FT6206_TOUCH_EVT_FLAG_NO_EVENT 0x03 #define FT6206_TOUCH_EVT_FLAG_SHIFT 6 #define FT6206_TOUCH_EVT_FLAG_MASK (3 << FT6206_TOUCH_EVT_FLAG_SHIFT) #define FT6206_MSB_MASK 0x0F #define FT6206_MSB_SHIFT 0 /* Values Pn_XL and Pn_YL related */ #define FT6206_LSB_MASK 0xFF #define FT6206_LSB_SHIFT 0 #define FT6206_P1_XH_REG 0x03 #define FT6206_P1_XL_REG 0x04 #define FT6206_P1_YH_REG 0x05 #define FT6206_P1_YL_REG 0x06 /* Touch Pressure register value (R) */ #define FT6206_P1_WEIGHT_REG 0x07 /* Values Pn_WEIGHT related */ #define FT6206_TOUCH_WEIGHT_MASK 0xFF #define FT6206_TOUCH_WEIGHT_SHIFT 0 /* Touch area register */ #define FT6206_P1_MISC_REG 0x08 /* Values related to FT6206_Pn_MISC_REG */ #define FT6206_TOUCH_AREA_MASK (0x04 << 4) #define FT6206_TOUCH_AREA_SHIFT 0x04 #define FT6206_P2_XH_REG 0x09 #define FT6206_P2_XL_REG 0x0A #define FT6206_P2_YH_REG 0x0B #define FT6206_P2_YL_REG 0x0C #define FT6206_P2_WEIGHT_REG 0x0D #define FT6206_P2_MISC_REG 0x0E /* Threshold for touch detection */ #define FT6206_TH_GROUP_REG 0x80 /* Values FT6206_TH_GROUP_REG : threshold related */ #define FT6206_THRESHOLD_MASK 0xFF #define FT6206_THRESHOLD_SHIFT 0 /* Filter function coefficients */ #define FT6206_TH_DIFF_REG 0x85 /* Control register */ #define FT6206_CTRL_REG 0x86 /* Values related to FT6206_CTRL_REG */ /* Will keep the Active mode when there is no touching */ #define FT6206_CTRL_KEEP_ACTIVE_MODE 0x00 /* Switching from Active mode to Monitor mode automatically when there is no touching */ #define FT6206_CTRL_KEEP_AUTO_SWITCH_MONITOR_MODE 0x01 /* The time period of switching from Active mode to Monitor mode when there is no touching */ #define FT6206_TIMEENTERMONITOR_REG 0x87 /* Report rate in Active mode */ #define FT6206_PERIODACTIVE_REG 0x88 /* Report rate in Monitor mode */ #define FT6206_PERIODMONITOR_REG 0x89 /* The value of the minimum allowed angle while Rotating gesture mode */ #define FT6206_RADIAN_VALUE_REG 0x91 /* Maximum offset while Moving Left and Moving Right gesture */ #define FT6206_OFFSET_LEFT_RIGHT_REG 0x92 /* Maximum offset while Moving Up and Moving Down gesture */ #define FT6206_OFFSET_UP_DOWN_REG 0x93 /* Minimum distance while Moving Left and Moving Right gesture */ #define FT6206_DISTANCE_LEFT_RIGHT_REG 0x94 /* Minimum distance while Moving Up and Moving Down gesture */ #define FT6206_DISTANCE_UP_DOWN_REG 0x95 /* Maximum distance while Zoom In and Zoom Out gesture */ #define FT6206_DISTANCE_ZOOM_REG 0x96 /* High 8-bit of LIB Version info */ #define FT6206_LIB_VER_H_REG 0xA1 /* Low 8-bit of LIB Version info */ #define FT6206_LIB_VER_L_REG 0xA2 /* Chip Selecting */ #define FT6206_CIPHER_REG 0xA3 /* Interrupt mode register (used when in interrupt mode) */ #define FT6206_GMODE_REG 0xA4 #define FT6206_G_MODE_INTERRUPT_MASK 0x03 #define FT6206_G_MODE_INTERRUPT_SHIFT 0x00 /* Possible values of FT6206_GMODE_REG */ #define FT6206_G_MODE_INTERRUPT_POLLING 0x00 #define FT6206_G_MODE_INTERRUPT_TRIGGER 0x01 /* Current power mode the FT6xx6 system is in (R) */ #define FT6206_PWR_MODE_REG 0xA5 /* FT6xx6 firmware version */ #define FT6206_FIRMID_REG 0xA6 /* FT6xx6 Chip identification register */ #define FT6206_CHIP_ID_REG 0xA8 /* Possible values of touchscreen controller ID */ #define FT6206_ID_VALUE 0x11 #define FT6x36_ID_VALUE 0xCD #define FT6X36_ID2_VALUE 0xD8 /* Release code version */ #define FT6206_RELEASE_CODE_ID_REG 0xAF /* Current operating mode the FT6xx6 system is in (R) */ #define FT6206_STATE_REG 0xBC 82 defines /** * @} *//* ... */ Exported constants /* Exported macro ------------------------------------------------------------*/ /** @defgroup ft6xx6_Exported_Macros * @{ *//* ... */ Exported macro /* Exported functions --------------------------------------------------------*/ /** @defgroup ft6xx6_Exported_Functions * @{ *//* ... */ /** * @brief ft6xx6 Control functions *//* ... */ /** * @brief Initialize the ft6xx6 communication bus * from MCU to FT6xx6 : ie I2C channel initialization (if required). * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @retval None *//* ... */ void ft6x06_Init(uint16_t DeviceAddr); /** * @brief Software Reset the ft6xx6. * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @retval None *//* ... */ void ft6x06_Reset(uint16_t DeviceAddr); /** * @brief Read the ft6xx6 device ID, pre intitalize I2C in case of need to be * able to read the FT6xx6 device ID, and verify this is a FT6xx6. * @param DeviceAddr: I2C FT6xx6 Slave address. * @retval The Device ID (two bytes). *//* ... */ uint16_t ft6x06_ReadID(uint16_t DeviceAddr); /** * @brief Configures the touch Screen IC device to start detecting touches * @param DeviceAddr: Device address on communication Bus (I2C slave address). * @retval None. *//* ... */ void ft6x06_TS_Start(uint16_t DeviceAddr); /** * @brief Return if there is touches detected or not. * Try to detect new touches and forget the old ones (reset internal global * variables). * @param DeviceAddr: Device address on communication Bus. * @retval : Number of active touches detected (can be 0, 1 or 2). *//* ... */ uint8_t ft6x06_TS_DetectTouch(uint16_t DeviceAddr); /** * @brief Get the touch screen X and Y positions values * Manage multi touch thanks to touch Index global * variable 'ft6x06_handle.currActiveTouchIdx'. * @param DeviceAddr: Device address on communication Bus. * @param X: Pointer to X position value * @param Y: Pointer to Y position value * @retval None. *//* ... */ void ft6x06_TS_GetXY(uint16_t DeviceAddr, uint16_t *X, uint16_t *Y); /** * @brief Configure the FT6xx6 device to generate IT on given INT pin * connected to MCU as EXTI. * @param DeviceAddr: Device address on communication Bus (Slave I2C address of FT6xx6). * @retval None *//* ... */ void ft6x06_TS_EnableIT(uint16_t DeviceAddr); /** * @brief Configure the FT6xx6 device to stop generating IT on the given INT pin * connected to MCU as EXTI. * @param DeviceAddr: Device address on communication Bus (Slave I2C address of FT6xx6). * @retval None *//* ... */ void ft6x06_TS_DisableIT(uint16_t DeviceAddr); /** * @brief Get IT status from FT6xx6 interrupt status registers * Should be called Following an EXTI coming to the MCU to know the detailed * reason of the interrupt. * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @retval TS interrupts status *//* ... */ uint8_t ft6x06_TS_ITStatus (uint16_t DeviceAddr); /** * @brief Clear IT status in FT6xx6 interrupt status clear registers * Should be called Following an EXTI coming to the MCU. * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @retval TS interrupts status *//* ... */ void ft6x06_TS_ClearIT (uint16_t DeviceAddr); /**** NEW FEATURES enabled when Multi-touch support is enabled ****/ #if (TS_MULTI_TOUCH_SUPPORTED == 1) /** * @brief Get the last touch gesture identification (zoom, move up/down...). * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @param pGestureId : Pointer to get last touch gesture Identification. * @retval None. *//* ... */ void ft6x06_TS_GetGestureID(uint16_t DeviceAddr, uint32_t * pGestureId); /** * @brief Get the touch detailed informations on touch number 'touchIdx' (0..1) * This touch detailed information contains : * - weight that was applied to this touch * - sub-area of the touch in the touch panel * - event of linked to the touch (press down, lift up, ...) * @param DeviceAddr: Device address on communication Bus (I2C slave address of FT6xx6). * @param touchIdx : Passed index of the touch (0..1) on which we want to get the * detailed information. * @param pWeight : Pointer to to get the weight information of 'touchIdx'. * @param pArea : Pointer to to get the sub-area information of 'touchIdx'. * @param pEvent : Pointer to to get the event information of 'touchIdx'. * @retval None. *//* ... */ void ft6x06_TS_GetTouchInfo(uint16_t DeviceAddr, uint32_t touchIdx, uint32_t * pWeight, uint32_t * pArea, uint32_t * pEvent); /* ... */ #endif /* TS_MULTI_TOUCH_SUPPORTED == 1 */ Exported functions /* Imported TS IO functions --------------------------------------------------------*/ /** @defgroup ft6xx6_Imported_Functions * @{ *//* ... */ /* TouchScreen (TS) external IO functions */ extern void TS_IO_Init(void); extern void TS_IO_Write(uint8_t Addr, uint8_t Reg, uint8_t Value); extern uint8_t TS_IO_Read(uint8_t Addr, uint8_t Reg); extern uint16_t TS_IO_ReadMultiple(uint8_t Addr, uint8_t Reg, uint8_t *Buffer, uint16_t Length); extern void TS_IO_Delay(uint32_t Delay); /** * @} *//* ... */ Imported TS IO functions /* Imported global variables --------------------------------------------------------*/ /** @defgroup ft6xx6_Imported_Globals * @{ *//* ... */ /* Touch screen driver structure */ extern TS_DrvTypeDef ft6x06_ts_drv; /** * @} *//* ... */ #ifdef __cplusplus }extern "C" { ... } #endif/* ... */ #endif /* __FT6XX6_H */ /** * @} *//* ... */ /** * @} *//* ... */ /** * @} *//* ... */ /** * @} *//* ... */