Acrosser AR-R6006 User Manual
Page 21
Revision: 1.0
typedef enum _E_TIME_UNIT {
TIME_UNIT_SECOND,
TIME_UNIT_MINUTE,
} E_TIMER_UNIT;
BOOL WINAPI SuperIo_Open();
Remarks:
You must call this function at start-up of application to open Super I/O device.
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 WatchDog_GetTimerCount( int* pCount );
Remarks:
Call this function to get value of current WatchDog Timer.
Parameters:
pCount
Pointer of variable to retrieve WatchDog Timer value.
Return Value:
Returns TRUE on success, FALSE on failure.
BOOL WINAPI WatchDog_GetTimerUnit( int* pTimerUnit );
Remarks:
Call this function to get unit of current WatchDog Timer, minute or second.
Parameters:
pTimerUnit
Pointer of variable to retrieve WatchDog Timer unit.
Return Value:
Returns TRUE on success, FALSE on failure.
BOOL WINAPI WatchDog_StartTimer ( int nTimerCount, int nTimerUnit );
21