
Appendix D - CTKERN Function Reference
CARROLL TOUCH
D-26
Touch System Programmer’s Guide
SetCommunicationParameters (21)
Description
This function sets the communication parameters that the driver uses
with the touch system. The application program should set register
BH
(driver type) to the appropriate value for the driver loaded.
Call with
AL
= 21 (function number).
BH
= Driver type.
0
=
SBC driver.
1
=
HBC driver.
2
=
RS-232 driver.
If
BH
= 0 (SBC) or 1 (HBC), the additional calls are:
BL
=
Interrupt number. Valid values are 2, 3, 4, 5 and 7.
CX
=
I/O address. Valid values are from 200H through 3F0H
in 10H increments (200H, 210H, 220H, ..., 3F0H).
If
BH
= 2 (RS-232), the additional calls are:
CH
=
Parity.
0
=
None.
1
=
Odd.
2
=
Even.
CL
=
Baud rate.
0
=
300.
1
=
600.
2
=
1200.
3
=
2400.
4
=
4800.
5
=
9600.
Returns
CX
= Status.
00 =
Communication parameters accepted.
01 =
Invalid driver type.
02 =
Invalid interrupt number.
04 =
Invalid I/O address.
08 =
Invalid parity.
10H= Invalid baud rate.
Содержание 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 ...