User`s manual

Reference Manual 129
Parameters
OpLen: [In] Operation code length, in bits. The typical range is
1 - 8.
OpCode: [In] Operation code.
AddrLen: [In] Length of register address, in bits. The typical
range is 1 - 16.
RegAddr: [In] Register address.
DataLen: Length of data, in bits. The typical range is 0 – 16.
pRegData: [Out] Value to be written to the SPI register.
SPIMode: [In] SPI mode, a 16-bit data. Refer to Table 1 SPI
Control Register Definition for definitions of each bit.
Return Value
HRESULT
7. IAccessFunc::GPIO_WritePins
The GPIO_WritePins method toggles the signal on one or mul-
tiple GPIO pins.
Syntax
HRESULT GPIO_WritePins(
int WriteNum,
int *Index,
int *Value,
int Mode
);
Parameters
WriteNum: [In] Number of pins to write.
Index: [In] Indexes of GPIO pins.