W83627Ehg Watchdog Timer Initial Program - Aaeon FSB-868G User Manual

Rev.b full-size cpu card
Table of Contents

Advertisement

F u l l - s i z e C P U C a r d
A.2 W83627EHG 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
F S B - 8 6 8 G R e v . B
;Enter W83627EHG 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