Windows SIO API
The SIO API library files and a demo program (including source code) are part of the board support package for the EGW-3200
(BSP/Sample_App_Source/SuperIO) and can be downloaded from the Dell Technologies
.
SIO_WDT_Set
Sets the timeout value of the watchdog timer. SIO_WDT_Stop should be called before the expiration of watchdog timer, or the
system will reset.
I32 SIO_WDT_Set (unsigned char val, int mode)
Parameters
val
—Specifies the value for the watchdog timer. A valid value is 1 - 255.
mode
—Specifies the mode of the timeout value. The valid mode of the timeout value is seconds (0) or
minutes (1).
Return codes
0 if timeout value of watchdog timer is successfully set.
Negative errno if timeout value of watchdog timer is failed to set.
SIO_WDT_GetCurrentTime
Gets the current timeout value of the watchdog timer, gives remaining watchdog timer timeout value and mode.
I32 SIO_WDT_GetCurrentTime (unsigned char* pTime, int* mode)
Parameters
pTIme
—Pointer variable to return the remaining watchdog time for expiry.
Mode
—Pointer variable to return the current watchdog mode.
Return codes
0 if timeout value of watchdog timer is available.
Negative errno if failed to get the current timeout value and mode of the watchdog timer.
SIO_WDT_Stop
Stops the watchdog timer.
I32 SIO_WDT_Stop ()
Parameters
None
Return codes
0 if watchdog timer is successfully stopped.
Negative errno if watchdog timer fails to stop.
GetCurrentCPUTemp
Gets the hardware monitor values.
Setting Up the Windows 10 Operating System
27