QLIB-function: QAPIRead8255


With the function QAPIRead8255 the 8 Bit value will be read from the Register 8255.

ULONG QAPIRead8255 ( ULONG cardid ULONG reg );


Parameter 1
cardhandle
Defines the ID of the card, from which the content of the register typ 8255 should be read

Parameter 2:
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 0.

 Back to the QLIB overview