|
QLIB-function: QAPIExtRead8255
With the function QAPIExtRead8255 the 8 Bit value will be read from the Register 8255.
ULONG QAPIExtRead8255 (
ULONG cardhandle
ULONG chipnum
ULONG reg
);
Parameter 1
| cardhandle |
Defines the handle from the opened card |
Parameter 2:
| chipnum |
Defines the chip of the 8255( 0 = first chip, 1= sec. Chip, 2 = third chip ) |
Parameter 3:
| reg |
Defines the register, from which to read the 8 Bit value. For reg are the valid range 0...3 |
Return value
If this function was terminated successful, the 8 Bit value from the register will be send back.
If the function is not successful, so the Return Value is always 0L.
Links
QAPIExtWrite8255
Back to the QLIB overview
|