5.6.6 Sequence of Operations and Using the API
Figure 6 illustrates the sequence of operations required to be performed to add touch to an end
application. By using the simple API’s as illustrated in the sequence flowchart, the user can add
touch sensing in his design.
5.6.6.1
Channel Numbering
5.6.6.1.1
Channel numbering when using QTouch acquisition method
QTouch acquisition method libraries require 2 GPIO pins per channel. QTouch libraries can be
configured to use 1 to 16 channels requiring 2 to 32 pins respectively. There are two options
provided for connecting the SNS and SNSK pins.
1. The SNS and SNSK pins are connected to separate ports. ( i.e. Interport)
2. The SNS and SNSK pins are connected to the same port. ( i.e. Intraport)
The following list provides a look at various combinations supported by various 8bit AVR
libraries released for each device.
When pin configurability is not used:
?
?
?
?
4-channel library – supports up to 4 channels using 4 consecutive pins on different SNS
and SNSK ports (or) supports up to 4 channels using 8 consecutive pins on the same
port used for both SNS and SNSK lines. This library requires 1 or 2 ports.
8-channel library – supports up to 8 channels using 8 consecutive pins on different SNS
and SNSK ports (or) supports up to 8 channels using 16 pins spread over two ports (SNS
and SNSK are on alternate pins) with SNS1 and SNSK1 pins on the first port and SNS2
and SNSK2 pins on the second port. This library requires 2 ports.
12-channel library (available only for 8bit AVR devices) – supports up to 12 channels out
of which, 8 channels with 8 consecutive pins for SNS1 and SNSK1 are available on
different ports and the other 4 channels with 8 consecutive pins available on the same
port for both SNS and SNSK lines. This library requires a total of 3 ports.
16-channel library – supports up to 16 channels out of which, 8 channels with 8
consecutive pins for SNS1 and SNSK1 are available on different ports and the other 8
channels with 8 consecutive pins are available on a different pair of SNS2 and SNSK2
ports. This library requires a total of 4 ports.
When pin configurability is used:
?
?
?
?
4-channel library – supports up to 4 channels using any 4 pins on different SNS and
SNSK ports (or) supports up to 4 channels using pins on the same port used for both
SNS and SNSK lines. This library requires 1 or 2 ports.
8-channel library – supports up to 8 channels using 8 pins on different SNS and SNSK
ports (or) supports up to 8 channels using pins spread over two ports (SNS and SNSK
are on alternate pins) with SNS1 and SNSK1 pins on the first port and SNS2 and SNSK2
pins on the second port. This library requires 2 ports.
12-channel library (available only for 8bit AVR devices) – supports up to 12 channels out
of which, 8 channels with 8 pins for SNS1 and SNSK1 are available on different ports and
the other 4 channels with 8 pins available on the same port for both SNS and SNSK
lines. This library requires a total of 3 ports.
16-channel library – supports up to 16 channels out of which, 8 channels with 8 pins for
SNS1 and SNSK1 are available on different ports and the other 8 channels with 8 pins
are available on a different pair of SNS2 and SNSK2 ports. This library requires a total of
4 ports.
33
相关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