
44
Watchdog Timer (WDT) & DI/O Function Libraries
SetWDT
Sets the timeout value of the watchdog timer. There are two
parameters for this function to indicate the timeout ticks and
unit. ResetWDT or StopWDT should be called before the expi-
ration of watchdog timer, or the system will reset.
@ Syntax
C/C++
BOOL SetWDT(BYTE tick, BYTE unit)
@ Parameters
tick
Specify the number of ticks for watchdog timer. A valid value
is 1 - 255.
unit
Specify the timeout ticks of the watchdog timer.
@ Return codes
TRUE
if timeout value of watchdog timer is successfully set.
FALSE
if timeout value of watchdog timer is failed to set.
StartWDT
Starts 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.
@ Syntax
C/C++
BOOL StartWDT()
Value
Description
0
The unit for one tick is one second. For example, when one
tick is specified as 100 and the unit as 0, the timeout value is
100 seconds.
1
The unit for one tick is one minute. For example, whenone
tick is specified as 100 and the unit as 1, the timeout value is
100 minutes.
Summary of Contents for MXE-1300 Series
Page 10: ...x List of Tables This page intentionally left blank...
Page 12: ...xii List of Figures This page intentionally left blank...
Page 19: ...Introduction 7 MXE 1300 Figure 1 3 Underside View Figure 1 4 Front View 4x M4 THREADED 75 75...
Page 41: ...Getting Started 29 MXE 1300 9 Fasten the 4 screws to fix the HDD bracket to the fixing members...
Page 60: ...48 Watchdog Timer WDT DI O Function Libraries This page intentionally left blank...
Page 76: ...64 BIOS Setup This page intentionally left blank...