![Advantech PCE-3032 Скачать руководство пользователя страница 84](http://html.mh-extra.com/html/advantech/pce-3032/pce-3032_user-manual_3048028084.webp)
PCE-3032/4132 User Manual
74
A.1.3
Example Program
1.
Enable watchdog timer and set 10 sec. as timeout interval.
;-----------------------------------------------------------
Mov dx,2eh
; Unlock NCT6776D
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
In
al,dx
Or
al,01h
Out
dx,al
;-----------------------------------------------------------
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
F6 (hex)
write
0: stop timer [default]
01~FF (hex): The amount of the count, in seconds or
minutes, depends on the value set in register F5 (hex).
This number decides how long the watchdog timer waits
for strobe before generating an interrupt or reset signal.
Writing a new value to this register can reset the timer to
count with the new value.
F7 (hex)
read/write
Bit 6: Write 1 to enable keyboard to reset the timer, 0 to
disable.[default]
Bit 5: Write 1 to generate a timeout signal immediately
and automatically return to 0. [default=0]
Bit 4: Read status of watchdog timer, 1 means timer is
“timeout”.
AA (hex)
-----
Write this address to I/O port 2E (hex) to lock the
NCT6776D.
Содержание PCE-3032
Страница 6: ...PCE 3032 4132 User Manual vi ...
Страница 11: ...Chapter 1 1 Hardware Configuration ...
Страница 21: ...Chapter 2 2 Connecting Peripherals ...
Страница 33: ...Chapter 3 3 AMI BIOS Setup ...
Страница 39: ...29 PCE 3032 4132 User Manual Chapter 3 AMI BIOS Setup 3 2 2 3 Power Performance ...
Страница 45: ...35 PCE 3032 4132 User Manual Chapter 3 AMI BIOS Setup 3 2 2 9 HW Monitor ...
Страница 50: ...PCE 3032 4132 User Manual 40 ...
Страница 66: ...PCE 3032 4132 User Manual 56 ...
Страница 67: ...Chapter 4 4 Value Added Software Services ...
Страница 69: ...Chapter 5 5 Chipset Software Installation Utility ...
Страница 72: ...PCE 3032 4132 User Manual 62 ...
Страница 73: ...Chapter 6 6 Integrated Graphic Device Setup ...
Страница 75: ...Chapter 7 7 LAN Configuration ...
Страница 77: ...Chapter 8 8 Intel ME ...
Страница 79: ...Chapter 9 9 SATA RAID Setup ...
Страница 81: ...Appendix A A Programming the Watchdog Timer ...
Страница 89: ...Appendix B B I O Pin Assignments ...
Страница 101: ...Appendix C C Programming the GPIO ...