So, the order in which the user enables the sensors is the order in which the sensors are
numbered. Depending on the user requirements, the sensors can be configured in the preferred
order.
NOTE: In case of QMatrix, the channels on the Unused X lines (or) unused Y lines should be
ignored and not to be used as arguments in this API.
Ex: If the host application needs only 24 channels , there are two possible options.
1.
2.
In 32 (8x4 configuration), if X6 and X7 are unused, channel6, channel7,
channel14, channel15, channel 22, channel23, channel30, channel 31
cannot be used
In 32 (8x4 configuration), if Y3 is unused, channe24, channel25,
channel26, channel27, channel 28, channel29, channel30, channel 31
cannot be used
5.6.6.3
Filtering Signal Measurements
The ATMEL QTouch Library API provides a function pointer called “qt_filter_callback”. The user
can use this hook to apply filter functions to the measured signal values.
If the pointer is non-NULL, the library calls the function after library has made capacitive channel
measurements, but before the library has processed the channel information and determining the
sensor states.
QTouch/QMatrix Channel Acquisition Method
channel_signals[]
optional qt_filter_callback() function
modified channel_signals[]
post-processing
modified channel_signals[]
qt_touch_status.sensor_states[]
qt_touch_status_rotor_slider_values[]
Figure 5-10 : Block diagram to represent usage of filter callback function
Example: Averaging the Last Four Signal Values
1. Add a static variable in the main module:
42
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