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 | |||
| (zero). |
|
|
Documentation Number | 17 |
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph