Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-38
Touch System Programmer’s Guide
Notes
The UEH is most often used to get the touch state and to update an
internal touch state variable in the user program.
Use of reentrant function calls such as BIOS calls in the UEH is
acceptable, as is the use of CTKERN function calls. However, use of
non reentrant function calls such as DOS calls is not.
Hardware interrupts are disabled while the UEH is executing. The UEH
should execute as quickly as possible to allow the TAPI driver to
continue to process hardware interrupts from the touch system. If the
UEH takes too long to return, the TAPI driver may miss hardware
interrupts from the touch system.
The UEH is called once and only once each time the touch state
changes.
While the UEH is disabled, CTKERN continues to update the touch
state. When re-enabled after being disabled, the UEH is NOT called to
notify you of any change in the touch state that may have occurred
during the time that the UEH was disabled.
Before terminating the user program, be sure to disable the UEH.
Otherwise, when the CTKERN driver calls the address of where the
application program’s event handler was, it will now be an invalid
address.
Содержание 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 ...