User`s manual

130 Reference Manual
Value: [In] The signal written to the GPIO pins. The value must
be either 0 or 1.
Mode: [In] 0: On chip GPIO controller; 1: Cypress GPIO con-
troller.
Return Value
HRESULT
8. IAccessFunc::GPIO_ReadPins
The GPIO_ReadPins method reads the signal on one or multi-
ple GPIO pins.
Syntax
HRESULT GPIO_ReadPins(
int ReadNum,
int *Index,
int *Value,
int Mode
);
Parameters
ReadNum: [In] Number of pins to read.
Index: [In] Indexes of GPIO pins.
Value: [In] The signal read from the GPIO pins.
Mode: [In] 0: via on chip GPIO controller; 1: via Cypress GPIO
controller.
Return Value
HRESULT