ADLINK MXC-6000 Series User Manual

Page 91

Advertising
background image

Watchdog Timer (WDT) Function Library

79

MXC-6000

StartWDT

@ Description

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

@ Supported controllers

MXC-6000

@ 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
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.

@ Supported controllers

MXC-6000

@ Syntax

C/C++

BOOL ResetWDT()

Advertising