QLIB-function: QAPIExtWrite8255


With the function QAPIExtWrite8255 the 8 Bit value will be written from the Register 8255.

void QAPIExtWrite8255 ( ULONG cardhandle ULONG chipnum ULONG reg ULONG value


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

Parameter 4:
value
Defines the 8 Bit value, which should be written into the register

Return value
None.

Links
 QAPIExtRead8255
 Back to the QLIB overview