beautypg.com

Files description, A-2 api list and descriptions, Gpio and watchdog – Acrosser AR-R6006 User Manual

Page 19: Gpio, Gpio pins defines below, A-2 api list and descriptions…………………………………………………19

background image


(Driver installation completely)


Files Description

SuperIoAPI.h: This file contains all define values and structures, it should be included in your

application program source code.

SuperIoAPI.lib: This file contains all API functions library, it’s for static linking with your application

program source code.


SuperIoAPI.dll: This file contains all API functions library, it’s for dynamic linking with your application
program source code.

A-2 API List and Descriptions

GPIO and Watchdog
GPIO

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

GPIO pins defines below:


#define

GPO_BIT_17 17

#define

GPO_BIT_18 18

#define

GPO_BIT_20 20

#define

GPO_BIT_37 37


#define

LED1

GPO_BIT_17

#define

LED2

GPO_BIT_20

#define

LED3

GPO_BIT_18

#define

LED4

GPO_BIT_37

BOOL WINAPI SuperIo_Open();

Remarks:

You must call this function at start-up of application to open Super I/O device.

19