B&B Electronics ATXWDT, ATRWDT manual BBPCWDTReset, Value hex Timeout

Page 18

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

Image 18
Contents PC Watchdog Timer Card CE Table of Contents Features SpecificationsGeneral Information Introduction Setup and Installation Inspection Address Switch SetupATRWDT/ATXWDT PCB Silk Screen Connection Decimal Address Switches S1 Position BusWeight Hex Weight 200Relay Setup InstallationConnecting the Atrwdt Motherboard Reset Option Connecting the ATX Reset Option for the Atxwdt Installing the SoftwareDocumentation Number ATxWDT-1303 Operation Communicating with the WDT Pinouts RegistersOutput Schematic Software Windows NT and WindowsDisk Caching WindowsChanging the I/O Port Address Existing DOS ProgramsParameters IoPortAddress=0x0200 IoPortCount=0x0001 Command Reference BBPCWDTStartupBBPCWDTShutdown BBPCWDTReset Value hex TimeoutBYTE* value BBPCWDTReadRegisterBool BBPCWDTReadRegisterHANDLE hDev As Long, value As Byte As ByteAppendix a Hardware I/O Maps SdlcMap of AT Class Machines Parallel printer on monochrome adapterAppendix B QuickBASIC Example Do While INKEY$ =Appendix C Declaration of Conformity Statement Declaration of Conformity