
Nuvo-8240GC
138
WDT Functions
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
Содержание Nuvo-8240GC Series
Страница 14: ...Nuvo 8240GC 14 1 2 2 Nuvo 8240GC 4 Pin Terminal Block Panel View...
Страница 15: ...Nuvo 8240GC Series 15 1 2 3 Nuvo 8240GC Top Panel View 1 2 4 Nuvo 8240GC Heatsink Panel View...
Страница 16: ...Nuvo 8240GC 16 1 2 5 Nuvo 8240GC Bottom View...
Страница 72: ...Nuvo 8240GC 72 6 Secure the screws indicated in blue on the I O panel to complete the enclosure installation...
Страница 129: ...Nuvo 8240GC Series 129 7 Follow the 6 step setup procedure as instructed...
Страница 131: ...Nuvo 8240GC Series 131 9 When done click on Finish and restart the system...