PROGRAMING WITH THE PAMUX DRIVER
3-36
Pamux User’s Guide
DIGITAL “FAST” OPERATIONS
For high-speed applications, these APIs can be used to bypass some error-checking and port
calculations. The configure functions should be used to configure outputs.
PamuxDigIoPortGet
P
ROTOTYPE
:
int PamuxDigIoPortGet(int hAc28, int far* pBank, int far* pPoint, int far*
pIoPort);
D
ESCRIPTION
:
Provides the I/O port needed given the AC28 handle, the bank number, and the point number.
PamuxDigBankReadFast
P
ROTOTYPE
:
int PamuxDigBankReadFast(int IoPort);
D
ESCRIPTION
:
Reads one byte (eight bits) from the specified I/O port. Does nothing more than call the function
_inp()
, and hence may be used in Visual Basic as a general-purpose INP function. The return
value is the value read rather than a Pamux error code.
PamuxDigBankWriteFast
P
ROTOTYPE
:
void PamuxDigBankWriteFast(int IoPort, int Data);
D
ESCRIPTION
:
Writes one byte (eight bits) to the specified port. Does nothing more than call the function
_out()
, and hence may be used in Visual Basic as a general-purpose OUT function.
Summary of Contents for PAMUX
Page 10: ...TABLE OF CONTENTS x Pamux User s Guide...
Page 14: ...TABLE OF CONTENTS xiv Pamux User s Guide...
Page 103: ...PROGRAMING WITH THE PAMUX DRIVER 3 42 Pamux User s Guide...
Page 121: ...PROGRAMING WITHOUT THE PAMUX DRIVER 4 18 Pamux User s Guide...
Page 125: ...TROUBLESHOOTING AND TIPS A 4 A 4 A 4 A 4 A 4 Pamux User s Guide...
Page 135: ...SPECIFICATIONS B 10 Pamux User s Guide...
Page 141: ...TEMPERATURE CONVERSIONS ROUTINES C 6 Pamux User s Guide...
Page 143: ...PRODUCT SUPPORT D 2 Pamux User s Guide...
Page 149: ...GLOSSARY E 6 Pamux User s Guide...