AMD TPC-660G manual Table B.1 Watchdog Timer Registers

Page 50

Table B.1: Watchdog Timer Registers

Address of

Attribute

Description

register (2E)

 

 

 

 

 

Read/Write

Value (2F)

 

 

and

 

 

description

 

 

 

 

87 (hex)

-----

Write this address to I/O address

 

 

port 2E (hex) twice to unlock the

 

 

W83627HF

 

 

 

07 (hex)

write

Write 08 (hex) to select register of

 

 

watchdog timer.

 

 

 

30 (hex)

write

Write 01 (hex) to enable the function

 

 

of the watchdog timer. Disabled is

 

 

set as default.

 

 

 

F5 (hex)

write

Set seconds or minutes as units for

 

 

the timer.

 

 

 

Write 0 to bit 3: set second as counting unit. [default]

Write 1 to bit 3: set minute as counting unit

F6 (hex)

write

0: stop timer [default]01~FF (hex):

 

 

The amount of the count, in seconds

 

 

or minutes, depends on the value

 

 

set in register F5 (hex). This number

 

 

decides how long the watchdog

 

 

timer waits for strobe before gener-

 

 

ating an interrupt or reset signal.

 

 

Writing a new value to this register

 

 

can reset the timer to count with the

 

 

new value.

 

 

 

F7 (hex)

rd/wr

Bit 6: Write 1 to enable keyboard to

 

 

reset the timer, 0 to disable.[default]

 

 

Bit 5: Write 1 to generate a timeout

 

 

signal immediately and automati-

 

 

cally return to 0. [default=0] Bit 4:

 

 

Read status of watchdog timer, 1

 

 

means timer is "time out".

 

 

 

AA (hex)

-----

Write this address to I/O port 2E

 

 

(hex) to lock the watchdog timer.2

 

 

 

TPC-660G User Manual

40

Image 50
Contents TPC-660G Copyright Acknowledgements This Manual Covers the Following ModelsProduct Warranty 1 year FCC Class a Technical Support and Assistance Safety Instructions Packing ListPage Contents Chapter Features in Windows XP Embedded Appendix F Fuse Specifications Page General Information Fanless Powerful Communication CapabilityIntroduction Bright DisplayEnvironment Operating Temperature 0 ~ 50 C 32 ~ 122 F SpecificationsSafety Power LCD SpecificationsTouchscreen Specifications Backlight 1 Ccfl Backlight Life Time 20,000 hoursI/O Ports Arrangement Panel MountingExploded Diagram Panel MountingDimensions and Cutout Dimensions & CutoutPage System Setup Unpack the Package Power Connector and Power Lines Plugging in the Power Line Bootup Screen Page System Engine Mainboard Connectors & Jumper Settings Main Board Connectors Page Software Configuration VGA Driver Installation Device ManagerUpdate Driver Update Wizard-2 Update Wizard-4 Update Wizard-6 Entertainment Encryption/Decryption Driver 10 Device Manager12 Install Wizard 14 Driver Installation Complete Page Features Windows XP Embedded Features in Windows XP Embedded EWFHorm Advantech UtilitiesVersion Information Serial Port Settings Appendix a Serial Port Settings Jumper SettingData Format Control Setting SW2 Baud Rate Setting SW3 Watchdog Timer Programming Appendix B Watchdog Timer Programming OverviewWatchdog Timer Programming Figure B.1 Watchdog Timer ProgrammingTable B.1 Watchdog Timer Registers Enable watchdog timer and set 10 sec. as timeout interval Example ProgramsEnable watchdog timer and set 5 minutes as timeout interval Enable watchdog timer to be reset by mouse Enable watchdog timer to be reset by keyboard Generate a time-out signal without timer counting Page Watchdog Timer Programming on WinCE Lpvoid lpOutBuffer Appendix C Watchdog Timer Program- ming on WinCEDeviceIOControl Parameters How to Use the Control Code Ioctl WdtenableIoctlwdtgettimeout CTLCODEFILEDEVICEUNKNOWN,ID, METHODBUFFERED, Fileanyaccess ExamplesAppendixC Page Accessory Kit Assembly Procedure Appendix D Accessory Kit Assembly Procedure CompactFlash to IDE Transfer KitFigure D.3 CompactFlash Slot Figure D.6 Connect the CD-ROM via the IDE Cable Touchscreen Installation Configuration Appendix E Touchscreen Installation & Configuration Driver InstallationFigure E.3 Install Wizard Uninstall the Driver Figure E.5 UninstallTouchscreen Calibration CalibrateFigure E.8 Standard Calibration Figure E.10 Advanced Calibration Figure E.11 Advanced Calibration Draw Figure E.13 DrawFigure E.14 Clear Screen OptionFuse Specifications Fuse Replacement Appendix F Fuse SpecificationsFuse Specifications