Appendix C - TAPI Function Reference
CARROLL TOUCH
C-4
Touch System Programmer’s Guide
GetCommunicationParameters (4)
Description
This function returns the communication parameters that the driver
uses to communicate with the touch system. The application program
should read the
BH
register to determine how to interpret the remaining
registers.
Touch applications that use these TAPI functions must use the register
that defines the driver type in order to interpret the driver-specific
parameters. If this is not done (that is, the application is hard-wired to
a specific driver type), the resulting touch application may not be
compatible with other TAPI drivers.
Call with
AX
= 4 (function number).
Returns
AX
= 4 (function number).
BH
= Driver type.
0
=
SBC driver.
1
=
HBC driver.
2
=
RS-232 driver.
If
BH
= 0 (SBC) or 1 (HBC), the additional returns 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 returns are:
BL
=
Comm port.
1 = COM1.
2 = COM2.
CH
=
Parity.
0 = None.
1 = Odd.
2 = Even.
Summary of Contents for TouchSystems CarrollTouch Prog
Page 1: ...CARROLL TOUCH TOUCH PRODUCTS an company AMP Touch System Programmer s Guide ...
Page 11: ...Table of Contents CARROLL TOUCH viii ...
Page 13: ...Table of Contents CARROLL TOUCH x ...
Page 17: ...Welcome CARROLL TOUCH xiv Touch System Programmer s Guide ...
Page 41: ...Chapter 3 General Programming Issues CARROLL TOUCH 3 12 Touch System Programmer s Guide ...
Page 57: ...Chapter 4 Smart Frame Protocol CARROLL TOUCH 4 16 Touch System Programmer s Guide ...
Page 237: ...Appendix D CTKERN Function Reference CARROLL TOUCH D 42 Touch System Programmer s Guide ...