ADLINK MXE-1300 Series User Manual

Page 57

Advertising
background image

Watchdog Timer (WDT) & DI/O Function Libraries

45

MXE-1300

@ Parameters

None

@ Return codes

TRUE

if watchdog timer is successfully started.

FALSE

if watchdog timer is failed to start.

ResetWDT

Resets the watchdog timer. The invocation of ResetWDT
allows restoration of the watchdog timer to the initial timeout
value specified in SetWDT function. ResetWDT or StopWDT
should be called before the expiration of the watchdog timer, or
the system will reset.

@ Syntax

C/C++

BOOL ResetWDT()

@ Parameters

None

@ Return codes

TRUE

if watchdog timer is successfully reset.

FALSE

if watchdog timer fails to reset.

StopWDT

Stops the watchdog timer.

@ Syntax

C/C++

BOOL StopWDT()

@ Parameters

None

@ Return codes

TRUE

if watchdog timer is successfully stopped.

Advertising