![Neousys Technology Nuvo 2500 Series User Manual Download Page 102](http://html1.mh-extra.com/html/neousys-technology/nuvo-2500-series/nuvo-2500-series_user-manual_1667801102.webp)
Nuvo-2500 Series User’s Manual
Copyright © 2015 Neousys Technology Inc. All Right Reserved.
Page 102 of 154
5.2.1.2 SetWDT
Description
Set timeout value and unit for watchdog timer. When InitWDT() is invoked, a default
timeout value of 255 seconds is assigned.
Parameter
tick
WORD value (1 ~ 65535) to indicate timeout ticks.
unit
BYTE value (0 or 1) to indicate unit of timeout ticks.
0 : unit is minute
1 : unit is second
Return Value
If value of unit is correct (0 or 1), this function returns TRUE, otherwise FALSE.
Usage
WORD tick = 255;
BYTE unit = 1; //unit is second.
BOOL bRet = SetWDT(tick, unit); //timeout value is 255 seconds