Specifications
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.










