blob: fe6edeae4be0742c03291cef8e522d920f989f5d (
plain)
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
|
/**************************************************************
ʹÓÃÇ°×¢ÒâͨµÀÊý£¬Çý¶¯Ä¬ÈÏʹÓÃͨµÀÊÇsense
´óÓÚdrive·ñÔòÐèÒª½«Ê¹Óõ½µÄDRIVENOÓëSENSENOµ÷»»
´ËÇé¿ö°üÀ¨0x66ºÍ0x67¼Ä´æÆ÷£¬µ«²»±ØÐ޸ġ£
***************************************************************/
#ifndef __SSD253X_20125181742_TS_H__
#define __SSD253X_20125181742_TS_H__
#define DRIVENO 15
#define SENSENO 10
#define EdgeDisable 1 // if Edge Disable, set it to 1, else reset to 0
#define RunningAverageMode 2 //{0,8},{5,3},{6,2},{7,1}
#define RunningAverageDist 4 // Threshold Between two consecutive points
#define MicroTimeTInterupt 10000000 //20000000// 100Hz - 10,000,000us
#define FINGERNO 10
//#define USE_TOUCH_KEY
#define USE_CUT_EDGE //0x8b must be 0x00; EdgeDisable set 0
//#undef USE_CUT_EDGE
#ifdef USE_CUT_EDGE
#define XPOS_MAX 576 //(DRIVENO - EdgeDisable) *64
#define YPOS_MAX 896 //(SENSENO - EdgeDisable) *64
#endif
#endif
|