51
PCA-6743 User Manual
Appendix B
P
rogramming
the
W
atchdog
Timer
B.1.3
Example Program
1.
Enable watchdog timer and set 10 sec. as timeout interval
;-----------------------------------------------------------
Mov
dx, 2Eh; Unlock W83627-DHG-P
Mov
al, 87h
Out
dx, al
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh; Pin 77 Select as WDTO#
Mov
al, 2Dh
Out
dx, al
Inc
dx
In
al, dx
And
al, not 00000001b
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh; Select Logical Device 8 of watchdog timer
Mov
al, 07h
Out
dx, al
Inc
dx
Mov
al, 08h
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh; Enable the function of watchdog timer
Mov
al, 30h
Out
dx, al
Inc
dx
Mov
al, 01h
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh ; Set second as counting unit
Mov
al, F5h
Out
dx, al
Inc
dx
In
al, dx
And
al, not 08h
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh ; Set timeout interval as 10 seconds and start counting
Mov
al, F6h
Out
dx, al
Inc
dx
Mov
al,10
Out
dx, al
;-----------------------------------------------------------
Mov
dx, 2Eh; Lock W83627-DHG-P
Mov
al, AAh
Содержание PCA-6743
Страница 9: ...PCA 6743 User Manual viii ...
Страница 13: ...PCA 6743 User Manual 4 ...
Страница 19: ...PCA 6743 User Manual 10 Table 2 4 JSETCOM1 COM1 function selection JSETCOM2 COM2 function selection Default ...
Страница 36: ...Chapter 3 3 BIOS Operation This chapter describes how to set BIOS configuration data ...
Страница 51: ...PCA 6743 User Manual 42 ...
Страница 52: ...Appendix A A Pin Assignments This appendix contains informa tion of a detailed or specialized nature ...
Страница 62: ...Appendix C C System Assignments This appendix contains informa tion of all System assignments ...
Страница 66: ...Appendix D D Installing PC 104 Modules This appendix contains informa tion of installing PC 104 modules ...