Channel 52
Channel 53
Channel 54
Channel 55
Channel 56
Channel 57
Channel 58
Channel 59
Channel 60
Channel 61
Channel 62
Channel 63
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
X4Y6
X5Y6
X6Y6
X7Y6
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
X4Y6
X5Y6
X6Y6
X7Y6
X0Y7
X1Y7
X2Y7
X3Y7
X4Y7
X5Y7
X6Y7
X7Y7
5.6.6.2
Sensor Numbering
The ordering and numbering of sensors is related to the order in which the sensors are enabled.
This is independent of the acquisition method (QMatrix or QTouch acquisition method libraries).
For example, consider this code snippet:
….
/* enable slider */
qt_enable_slider
(CHANNEL_0,
CHANNEL_2,
AKS_GROUP_1,
16,
HYST_6_25, RES_8_BIT, 0);
/* enable rotor */
qt_enable_rotor (CHANNEL_3, CHANNEL_5, AKS_GROUP_1, 16, HYST_6_25,
RES_8_BIT, 0);
/* enable keys */
qt_enable_key (CHANNEL_6, AKS_GROUP_2, 10, HYST_6_25);
qt_enable_key (CHANNEL_7, AKS_GROUP_2, 10, HYST_6_25);
In the case above, the slider on channels 0 to 2 will be sensor 0, the rotor on channels 3-to-5 is
sensor 1 and the keys on channels 6 and 7 are sensor numbers 3 and 4 respectively.
When the touch status is reported or queried, the corresponding sensor positions and status
indicate the touch status. For example, the slider is in detect if “ qt_measure_data.
qt_touch_status.sensor_states ” bit position 0 is set. Similarly, the rotor on channels 3 to 5 is
sensor 1, and the keys on channels 6 and 7 are sensors 2 and 3 respectively.
However, the code could be re-arranged as follows to give a different sensor numbering.
/* enable rotor */
qt_enable_rotor (CHANNEL_3,
CHANNEL_5,
NO_AKS_GROUP,
16,
HYST_6_25, RES_8_BIT, 0);
/* enable keys */
qt_enable_key (CHANNEL_6, AKS_GROUP_2, 10, HYST_6_25);
qt_enable_key (CHANNEL_7, AKS_GROUP_2, 10, HYST_6_25);
/* enable slider */
qt_enable_slider (CHANNEL_0,
CHANNEL_2,
NO_AKS_GROUP,
16,
HYST_6_25, RES_8_BIT, 0);
Now, the rotor is sensor 0, the keys are sensors 1 and 2, and the slider is sensor 3.
41
相关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