The Above figure illustrates how a Guard sensor/key is to be visualized.It has six keys and five
keys are surrounded by a Guard Channel.
Please refer QTAN0031 for further information on Guard Channel.
http://www.atmel.com/dyn/resources/prod_documents/QTAN0031(2).pdf
5.6 QTouch API and Usage
The Atmel QTouch library provides support for many devices. This chapter explains the touch
library for such devices without any hardware support.
5.6.1 QTouch Library API
This section describes the QTouch library Application Programming Interface (API) for touch
sensing using QTouch and QMatrix acquisition methods.
Using the API, Touch sensors and the associated channels can be defined. Once touch sensing
has been initiated by the user, the host application can use the API to make touch measurements
and determine the status of the sensors.
5.6.2 touch_api.h - public header file
The touch_api.h header file is the public header file which needs to be included in users
application and it has the type definitions and function prototypes of the API’s listed in sections
5.6.3 , 5.6.4 and 5.6.5
The touch_api.h header file is located in the library distribution in the following directory.
?
..\Atmel_QTouch_Libraries_5.x\Generic_QTouch_Libraries\include
5.6.3 Type Definitions and enumerations used in the library
5.6.3.1
Typedefs
This section lists the type definitions used in the library.
Typedef
uint8_t
int8_t
uint16_t
int16_t
uint32_t
threshold_t
Notes
unsigned 8-bit integer
signed 8-bit integer
unsigned 16-bit integer
signed 16-bit integer
unsigned 32-bit integer
unsigned 8-bit integer
used for setting a sensor detection threshold
5.6.3.2
Enumerations
This section lists the enumerations used in the QTouch Library.
5.6.3.2.1
Enumeration
Use
Values
sensor_type_t
sensor_type_t
Define the type of the sensor
Comment
SENSOR_TYPE_UNASSIGNED
SENSOR_TYPE_KEY
SENSOR_TYPE_ROTOR
22
Channel is not assigned to any sensor
Sensor is of type KEY
Sensor is of type ROTOR
8207L-AT42-05/12
相关PDF资料
ATU6-P305T-R CABLE CAT6 FULL-BOX 305M GRAY
ATUP-P305T-R CABLE CAT5E PULL-BOX 305M GRAY
ATUP-V305T-R CABLE CAT5E REEL 305M GRAY
AWG28-05/F-1/300-R CABLE 5 COND MULTI 300' RIBBON
AWG28-05/G-1/300-R CABLE 5 COND GRAY 300' RIBBON
AWG28-09/F-1/300-R CABLE 9 COND MULTI 300' RIBBON
AWG28-09/G-1/300-R CABLE 9 COND GRAY 300' RIBBON
AWG28-25/F-1/300-R CABLE 25 COND MULTI 300' RIBBON
相关代理商/技术参数
ATQT600IB 功能描述:界面开发工具 ATQT600IB Interface Brd RoHS:否 制造商:Bourns 产品:Evaluation Boards 类型:RS-485 工具用于评估:ADM3485E 接口类型:RS-485 工作电源电压:3.3 V
ATQT6-XPRO 功能描述:Xplained Pro - Extension Board 制造商:atmel 系列:- 零件状态:有效 配件类型:扩展板 配套使用产品/相关产品:Xplained Pro 标准包装:1
ATR 1078 功能描述:TOOL INSERTION TWEEZER 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1079 功能描述:TWEEZER INSERTION 20 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080 制造商:Astro Tool Corp 功能描述:TOOL INSERTION 20 GA
ATR 1080-135 功能描述:INSERTION TOOL 20 GA ANGLED TIP 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1080-S 功能描述:INSERTION TOOL STRAIGHT 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1
ATR 1105 功能描述:TOOL INSERTION TWEEZER 16 GA 制造商:astro tool corp 系列:* 零件状态:有效 标准包装:1