POC-400 Series
85
WDT Function Reference
InitWDT
Syntax
BOOL InitWDT(void);
Description:
Initialize the WDT function. You should always invoke
InitWDT() before set or start watchdog timer.
Parameter
None
Return Value
TRUE:
Successfully initialized
FALSE:
Failed to initialize
Usage
BOOL
bRet = InitWDT()
SetWDT
Syntax
BOOL SetWDT(WORD tick, BYTE unit);
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
Содержание POC-400 Series
Страница 1: ...Neousys Technology Inc POC 400 Series User Manual Revision 1 0...
Страница 4: ...Table of Contents 4 GetStatusPoEPort 97 EnablePoEPort 98 DisablePoEPort 99...
Страница 16: ...POC 400 Series 16 1 3 Dimension 1 3 1 Superior View 1 3 2 Front Panel View...
Страница 17: ...POC 400 Series 17 1 3 3 Bottom View...
Страница 47: ...POC 400 Series 47 4 Gently press the card down and secure with a screw 5 Reinstall the system enclosure...
Страница 54: ...POC 400 Series 54 Bottom of the enclosure...
Страница 96: ...POC 400 Series 96 printf StopDICOS PASSED n printf npress any key to exit n system pause nul return 0...