beautypg.com

Watchdog – Acrosser AR-R6006 User Manual

Page 31

background image

Parameters:

( None )


Return Value:

Returns TRUE on success.
If the Super I/O driver has not installed, return FALSE.


void WINAPI SuperIo_Close();

Remarks:

You must call this function at end of application to close Super I/O device.

Parameters:

( None )


Return Value:

( None )

BOOL WINAPI Gpio_GetBitValue( int nBit, BYTE* pValue );

Remarks:

Call this function to get GPIO pins value.

Parameters:

nBit

Stand for GPIO pins, you can assign value LED1 ~ LED4, or value GPO_BIT_17,
GPO_BIT_18, GPO_BIT_20, GPO_BIT_37.


pValue

Pointer of variable to retrieve GPIO pins state.

Return Value:

Returns TRUE on success, FALSE on failure.



BOOL WINAPI Gpio_SetBitValue( int nBit, BYTE bValue );

Remarks:

Call this function to Set GPIO pins value.

Parameters:

nBit

Stand for GPIO pins, you can assign value LED1 ~ LED4, or value GPO_BIT_17,
GPO_BIT_18, GPO_BIT_20, GPO_BIT_37.


bValue

Output value of GPIO pins, value 1 or 0.

Return Value:

Returns TRUE on success, FALSE on failure.

Watchdog

Notice: Before using GPIO APIs, be sure Super I/O driver was installed successfully.

31