BBPCWDT_Reset

Purpose:

Reset the timeout of the watchdog timer.

C Syntax:

BOOL BBPCWDT_Reset(HANDLE hDev, BYTE

 

bResetValue);

 

 

BASIC

Function BBPCWDTReset (ByVal hDev As

Syntax:

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).

 

 

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

Page 18
Image 18
B&B Electronics ATXWDT, ATRWDT manual BBPCWDTReset, Value hex Timeout