2) Copy the library variant that was selected in step 1 to your project’s working directory or
update your project to point to the library selected.
Include the “touch_api.h” header file and assembler source file from the QTouch library in
your application. The touch_api.h can be found in the release package at C:\Program
Files\Atmel\Atmel_QTouch_Libraries_5.x\Generic_QTouch_Libraries\include. The
assembler files mentioned below could be found at the location C:\Program
Files\Atmel\Atmel_QTouch_Libraries_5.x\Generic_QTouch_Libraries\32bit_AVR\UC3\Q
Matrix\common_files
e. qm_asm_uc3c_gcc.x in case of GCC compiler
f.
qm_asm_uc3c_iar.s82 in case of IAR compiler.
3) Initialize/create and use the touch api’s in your application
d. In your application, create, initialize and configure the sensors.
a. The APIs of interest are qt_enable_key/rotor/slider().see sections 5.6.5.2,
e. configure the global configuration parameters valid for all the sensors in the
library
f.
Provide timing for the QTouch libraries to operate. i,e. the QTouch libraries do
not use any timer resources of the microcontroller. The Host application has to
provide the required timing and also call the API’s at the appropriate intervals to
perform touch sense detect operations
4) General application notes
g. The clock, host application and other peripherals needed by the host application
needs to be initialized.
h. The QMatrix acquisition method libraries for 32 Bit devices internally use TIMER0
with channel0 for their operation.
i.
Ensure that there are no conflicts between the resources used by the touch
library and the host application
5.6.10.3.2.1 Resources used by QMatrix acquisition method libraries for 32 Bit device
Devices supported by 32 Bit Qmatrix Acquisition libraries are:
1. AT32UC3C0512
The following additional resources are used by the QMatrix acquisition method libraries.
?
?
?
?
Four Analog Comparator
One internal Timer ( Timer0 with channel0 )
Two Analog Comparator Interface ACIFA0/1.
Event System Channel 16 is used.
The device has two Analog comparator interfaces ACIFA0 and ACIFA1 .Each interface
provides the flexibility to configure two analog comparators ACA and ACB comparators..UC3C
has Four Comparators (AC0A , AC1A , AC0B , AC1B), So there are 10 Possible Yb lines as
given in table below.
User has flexibility to configure maximum 8 Yb lines for maximum 64 channel libraries.Below
table states the Yblines which can be configured
64
Yb LInes of the Four
Port A
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