qt_reset_sensing()
The host application (optionally) calls “qt_reset_sensing( )”
to reset all channels and touch sensing parameters to their
default states. This step is only required if the host wants to
dynamically reconfigure the library at runtime
qt_enable_xxx()
The host application calls “qt_enable_key( )”, “qt_enable_rotor( )”
and/or “qt_enable_slider()” as required to configure the touch
sensors
qt_init_sensing()
The host application calls qt_init_sensing() to calibrate all the
configured channels and prepare the sensors for capacitive
measurement
qt_set_parameters()
The host application qt_set_parameters() to initialize the threshold
parameters for the library. If the user needs to change the thresholds,
edit the global data structure qt_config_data prior to calling this API
init_timer_isr()
The host application initializes the timer module required for
capacitive measurement
qt_measure_sensors()
The host application periodically calls
“qt_measure_sensors( )” to make capacitive measurements.
Yes
Time-critical host
application code
Part of host application
which cannot wait till multiple
measurements are complete (should
be as minimal as possible)
Check if multiple measurements are needed or not:
Is
QTLIB_BURST_A
GAIN=1
To resolve calibration
To resolve DI
To resolve positive recalibration
To compensate for drift
No
check qt_touch_status
check the global status variable “qt_touch_status” to see if any
sensors are in detect, and the angle or position of any enabled
rotors or sliders
Non-Time critical host application code
Host application which can be executed after
the completion of multiple measurements
for all the channels
Figure 5-6: Sequence of operations to add Touch capability
35
相关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