can be used to assign SNS and SNSK on the pins and rules are internally taken care in the
QTouch Studio Pin Configuration Wizard.
By default, for 4 and 8 channel QTouch acquisition libraries, the channel numbering follows
the pin number of the port.
To use the pin configurability, enable the macro
_STATIC_PORT_PIN_CONF_ in the
project options or define the macro in the touch_config.h file.
To use the pin configurability feature, the SNS_array and SNSK_array masks are exported
for the user, which needs to be initialized. These SNS_array and SNSK_array masks can
be taken from the QTouch Studio Pin Configuration Wizard and can be copied at
appropriate place in the main.c file as explained in the example projects provided.
QTOUCH_STUDIO_MASKS macro is used for providing pin configurability feature for
QTouch Acquisition method libraries.
In case the macro QTOUCH_STUDIO_MASKS enabled in project space,
SNS_array and SNSK_array takes values that are supplied by the user in main.c files.
This will reduce the code memory foot print of the library.
In case the macro QTOUCH_STUDIO_MASKS is not enabled in project space,
SNS_array and SNSK_array are calculated internal to the library according to the
configured sensors.
Note:
1. Port pin configurability is enabled for the following configurations,
4- channel intraport configuration
8-channel intraport configuration
12-channel configuration
16- channel configuration
2. In case, the user wants to use the pin configurability for the other supported
configurations, (4- channel interport and 8-channel interport), the user has to enable the
macro _STATIC_PORT_PIN_CONF_ in his project space.
5.8.1.1
Rules for configurable SNS-SNSK Mask Generation
SNS1=PORTA
X
X
X
PORT PAIR 1
Ch2
X
Ch1
X
Ch0
X
SNSK1=PORTB
88
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