Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-18
Touch System Programmer’s Guide
Reset (0)
Description
This function resets the CTKERN driver and/or touch system. The
CTKERN driver is reset by reinitializing the driver queues, status bits,
interrupt masks, and so forth. The TAPI driver and/or touch system is
reset by calling the TAPI Reset (0) function with the select driver/touch
system reset value from
BL
in
BL
.
Call with
AL
= 0 (function number).
BH
= 0.
BL
= Select driver / touch system reset.
0
=
Reset touch system and driver.
1
=
Reset driver only.
2
=
Reset touch system only.
Returns
AL
= Reset result.
0
=
Reset OK.
1
=
The TAPI driver indicated that it could not send
commands to the touch system.
2
=
The TAPI driver indicated that it received an
error report from the touch system that contained
error codes.
3
=
The TAPI driver indicated that it did not receive
the expected error report from the touch system.
Notes
If
BL
= 0 (Reset touch system and driver):
1. Reset CTKERN variables.
2. Call TAPI with
BL
= 0 (Reset the touch system and the driver).
3. Send init string via TAPI to set the touch system to the tracking
with add exit touch mode and enable scanning.
If
BL
= 1 (Reset driver only):
1. Reset CTKERN variables.
2. Call TAPI with
BL
= 1 (Reset driver only).
If
BL
= 2 (Reset touch system only):
1. Do not reset CTKERN variables.
Содержание TouchSystems CarrollTouch Prog
Страница 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Страница 11: ...Table of Contents CARROLL TOUCH viii ...
Страница 13: ...Table of Contents CARROLL TOUCH x ...
Страница 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Страница 25: ...Chapter 1 Introduction to Infrared Touch Systems CARROLL TOUCH 1 8 Touch System Programmer s Guide ...
Страница 29: ...Chapter 2 Introduction to Guided Wave Touch Systems CARROLL TOUCH 2 4 Touch System Programmer s Guide ...
Страница 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Страница 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Страница 87: ...Chapter 6 Touch Application Program Interface TAPI CARROLL TOUCH 6 10 Touch System Programmer s Guide ...
Страница 149: ...Appendix A Smart Frame Protocol Command Reference CARROLL TOUCH A 40 Touch System Programmer s Guide ...
Страница 179: ...Appendix B Smart Frame Protocol II Function Reference CARROLL TOUCH B 30 Touch System Programmer s Guide ...
Страница 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...