ADLINK MXE-5300 Series User Manual

Page 81

Advertising
background image

WDT Function Reference

71

MXE-5300

StartWDT

Description

Start the watchdog timer function. Once the StartWDT is
invoked, the countdown of watchdog timer starts. Users should
call ResetWDT or StopWDT before the expiration of watchdog
timer, or the system will be reset.

Supported controllers

MXE-5300

Syntax

C/C++

BOOL StartWDT()

Parameters

None

Return codes

TRUE

if watchdog timer is successfully started.

FALSE

if watchdog timer is failed to start.

ResetWDT

Description

Reset the watchdog timer. The invocation of ResetWDT allows
users to restore the watchdog timer to the initial timeout value
specified in SetWDT function. Users should call ResetWDT or
StopWDT before the expiration of watchdog timer, or the sys-
tem will be reset.

Supported controllers

MXE-5300

Syntax

C/C++

BOOL ResetWDT()

Parameters

None

Advertising