Advantech Watchdog Timer UNO-2170 User Manual page 31

Table of Contents

Advertisement

Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS: operation succeed
(2) ADS_WATCHDOG_ERROR_INV ALID_HANDLE: Invalid device
handle
LONG WDT_GetStartupTime (LONG i_hHandle,
LARGE_INTEGER * o_pSartupTime);
Description: Get the watchdog enabled time
Input Parameters:
(1) i_hHandle: Handle of the watchdog driver
(2) o_pSartupTime: The count of 100-nanosecond intervals that the
watchdog is enabled.
Return Values:
(1) ADS_WATCHDOG_ERROR_SUCCESS: operation succeed
(2) ADS_WATCHDOG_ERROR_INV ALID_HANDLE: Invalid device
handle
LONG WDT_GetTimerSpanDescription ( LONG i_hHandle,
DWORD i_dwIndex, LPTSTR o_pDescription );
Description: Get the description of the specified timer span
Input Parameters:
(1) i_hHandle: Handle of the watchdog driver
(2) i_dwIndex: The timer span index
(3) o_pDescription: The description of the specified timer index. The
memory pointed by this pointer should be allocated and initialized before
transferred into this function, as well should be de-allocated outside this
function. The buffer size should be large enough to load 64 characters.
25
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Watchdog timer uno-2171Watchdog timer uno-205xe

Table of Contents