User Guide

Documentation Number ATxWDT-1303 17
B&B Electronics Mfg Co 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
B&B Electronics Ltd Westlink Comm. Pk Oranmore, Galway, Ireland Ph +353 91-792444 Fax +353 91-792445
BBPCWDT_Reset
Purpose: Reset the timeout of the watchdog timer.
C Syntax:
BOOL BBPCWDT_Reset(HANDLE hDev, BYTE
bResetValue);
BASIC
Syntax:
Function BBPCWDTReset (ByVal hDev As
Long, ByVal bResetValue As Byte) As
Byte
Remarks:
hDev
is the handle to the watchdog timer that was
returned by BBPCWDT_Startup.
bResetValue
is
the reset value that is sent to the watchdog timer.
The values are:
Value (hex) Timeout
0 disabled
1 0.5 seconds
3 2 seconds
5 6 seconds
7 14 seconds
9 30 seconds
B 126 seconds
D 254 seconds
F 510 seconds
Return Value: TRUE (non-zero) if successful, otherwise FALSE
(zero).