W83627Hg Watchdog Timer Initial Program - Aaeon ETX-945GSE Manual

Cpu module
Table of Contents

Advertisement

E T X C P U M o d u l e
A.2 W83627HG Watchdog Timer Initial Program
Example: Setting 10 sec. as Watchdog timeout interval
;///////////////////////////////////////////////////////////////////////////////////////////////
Mov dx,2eh
Mov al,87h
Out dx,al
Out dx,al
;///////////////////////////////////////////////////////////////////////////////////////////////
Mov al,07h
Out dx,al
Inc dx
Mov al,08h
2)
Out dx,al
;///////////////////////////////////////////////////////////////////////////////////////////////
Dec dx
Mov al,30h
Out dx,al
Inc dx
Mov al,01h
Out dx,al
Appendix A Programming the Watchdog Timer
E T X - 9 4 5 G S E
;Enter W83627HG config mode
(out 87h to 2eh twice)
;Select Logical Device 8 (GPIO Port
;CR30 (GP20~GP27)
;Activate GPIO2
A-6

Advertisement

Table of Contents
loading

Table of Contents