37
PCA-6742 User Manual
Appendix B
P
rogramming
the
W
atchdog
Timer
Dec dx
; Set second as counting unit
Mov
al,0f5h
Out
dx,al
Inc
dx
In
al,dx
And al,not 08h
Out
dx,al
;-----------------------------------------------------------
Dec dx
; Set timeout interval as 10 seconds and start counting
Mov
al,0f6h
Out
dx,al
Inc
dx
Mov
al,10
Out
dx,al
;-----------------------------------------------------------
Dec dx
; lock W83627HG
Mov
al,0aah
Out
dx,al
2.
Enable watchdog timer and set 5 minutes as timeout interval
;-----------------------------------------------------------
Mov dx,2eh
; unlock W83627HG
Mov al,87h
Out dx,al
Out dx,al
;-----------------------------------------------------------
Mov al,07h
; Select registers of watchdog timer
Out
dx,al
Inc
dx
Mov
al,08h
Out
dx,al
;-----------------------------------------------------------
Dec dx
; Enable the function of watchdog timer
Mov
al,30h
Out
dx,al
Inc
dx
Mov
al,01h
Out
dx,al
;-----------------------------------------------------------
Dec dx
; Set minute as counting unit
Mov
al,0f5h
Out
dx,al
Inc
dx
In
al,dx
Or al,08h
Out
dx,al
Summary of Contents for PCA-6742 Series
Page 1: ...User Manual PCA 6742 Half Size CPU Card ...
Page 18: ...PCA 6742 User Manual 12 ...
Page 19: ...Chapter 3 3 BIOS Operation This chapter describes how to set BIOS configuration data ...
Page 30: ...PCA 6742 User Manual 24 ...
Page 38: ...PCA 6742 User Manual 32 ...
Page 47: ...Appendix C C System Assignments This appendix contains informa tion of all System assignments ...
Page 50: ...PCA 6742 User Manual 44 ...
Page 55: ...Appendix E E Mechanical Drawing ...
Page 57: ...51 PCA 6742 User Manual Appendix E Mechanical Drawing ...