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
Содержание PCA-6742 Series
Страница 1: ...User Manual PCA 6742 Half Size CPU Card ...
Страница 18: ...PCA 6742 User Manual 12 ...
Страница 19: ...Chapter 3 3 BIOS Operation This chapter describes how to set BIOS configuration data ...
Страница 30: ...PCA 6742 User Manual 24 ...
Страница 31: ...Appendix A A Pin Assignments This appendix contains informa tion of a detailed or specialized nature ...
Страница 38: ...PCA 6742 User Manual 32 ...
Страница 47: ...Appendix C C System Assignments This appendix contains informa tion of all System assignments ...
Страница 50: ...PCA 6742 User Manual 44 ...
Страница 51: ...Appendix D D Installing PC 104 Modules This appendix contains informa tion of installing PC 104 modules ...
Страница 54: ...PCA 6742 User Manual 48 27 SA4 TC 28 SA3 BALE 29 SA2 5 V 30 SA1 OSC 31 SA0 0 V 32 0 V 0 V active low ...
Страница 55: ...Appendix E E Mechanical Drawing ...
Страница 57: ...51 PCA 6742 User Manual Appendix E Mechanical Drawing ...