5.6.10.3.2
o
o
o
Analog Comparator0 on PORTA (AC0 on PORTA)
Timer/Counter1 on PORTC (TCC1)
Event System Channel0 (EVSYS_CH0)
Example for 32bit AVR
Based on the application design, the user needs to select the right library variant and the
configuration to be used along with the variant. This section illustrates the steps required to select
the right QMatrix acquisition method library variant and configuration for your application.
For your design, you would need the following information to select the correct library variant
a. Device to be used for the design(only AT32UC3C0512 supported)
b. The number of touch sensing channels needed by the application – Then identify the
Maximum number of channels required for the design that are supported by the library.
c.
Number of X lines to be used in the design
a. The port on which your design permits to have the X lines
b. The X lines can be spread on a single port.
d. Number of Y lines to be used in the design
c.
The port-pins ports on which your design permits to have the Y lines
e. Do you need support for Rotors and/or Sliders in your design
d. If yes, how many rotors/sliders would be needed?
e. Based on a) above, identify the maximum number of rotors sliders that the library
supports
f.
Which compiler platform you intend to use to integrate the libraries – IAR or AVR -GCC
After selecting the right library variant, following steps are to be performed
1) 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. These values are
derived from the parameters defined in step 2 for your application
b. The constant/symbol names are as listed in the table below
c.
The constant/symbol definitions can be placed in any of the following
iii. In the user’s ‘C’ file prior to include touch_api.h in the file
iv. Defined user’s project options.
v. Modify the defines in a touch_config.h
Symbol / Constant
name
_QMATRIX_
QT_NUM_CHANNEL
S
NUM_X_LINES
NUM_Y_LINES
_ROTOR_SLIDER_
62
Range of values
Symbol defined to indicate
QMatrix acquisition method
is required
The number of channels
the library supports.(
Possible
values:4,8,16,24,32,64).
The number of X lines the
library supports.( Possible
values:4,8)
The number of Y lines the
library supports.( Possible
values:1,2,3,4,8)
Symbol defined if Rotor
Comments
Define this symbol to indicate QMatrix
acquisition method is required
Value should be same as the number
of channels that the library supports
Value should be same as the number
of X lines that the library supports.
Refer to library selection guide
Value should be same as the number
of Y lines that the library supports.
Refer to library selection guide
Needs to be added in case user
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