UC3
ATSAM
..\Atmel_QTouch_Libraries_5.x
Generic_QTouch_Libraries
\32bit_AVR\UC3\QTouch\example_pr
ojects
..\Atmel_QTouch_Libraries_5.x
Generic_QTouch_Libraries\AT91SA
M\SAM3\QTouch\example_projects
..\Atmel_QTouch_Libraries_5.x
Generic_QTouch_Libraries\AT91SA
M\SAM4\QTouch\example_projects\S
AM4S_XPLAINED_DEMO_APPLICA
TION1
this location
QMatrix acquisition
method libraries
8-bit
devices
UC3
..\Atmel_QTouch_Libraries_5.x
Generic_QTouch_Libraries
\AVR_Tiny_Mega_XMega\QMatrix\ex
ample_projects
..\Atmel_QTouch_Libraries_5.x
Generic_QTouch_Libraries\32bit_AV
R\UC3\QMatrix\example_projects
5.6.10.2 Integrating QTouch acquisition method libraries in your application
The following steps illustrate how to add QTouch acquisition method support in your application.
1) QTouch acquisition method library variants are offered for IAR and AVR Studio/GCC tool
chains. First step is to select the compiler tool chain to be used based on the code and
data memory requirements. The list of supported compiler tool chains can be found in
Use the library selection guide (C: Program Files\Atmel\Atmel_QTouch_Libaries_5.x
Library_Selection_Guide.xls) to select the QTouch acquisition method library variant
required for the device.
a. There are specific library variants distributed for each microcontroller. You would
need the following parameters to identify the right library variant to be used in
your application
i. The microcontroller to be used for the application.
ii. The acquisition method to be used for the application.
iii. The number of channels you need for the application.
iv. Whether Rotor and/or Slider support required in the application.
v. The number of rotors and/or slider needed for the application.
b. There are specific variants of the library which is pre-built with a specific
configuration set supported. Use the library selection guide (C: Program
Files\Atmel Atmel_QTouch_Libaries_5.x\Library_Selection_Guide.xls) to find the
sample project using the QTouch acquisition method library variant.
2) Define the constants and symbol names required
a. The next step is to define certain constants and symbols required in the host
application files where the touch API is going to be used.
b. The constant/symbol names are as listed in the table below.
c.
The constant/symbol definitions can be placed in the touch_config.h file. The
user may modify these defined values based on the requirements.
Table 3 : Constant and symbol name definitions required to use the QTouch acquisition
method libraries
Symbol / Constant name
_QTOUCH_
50
Range of values
This macro has to be defined in
order to use QTouch libraries.
Comments
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