ARK-1503 User Manual
48
A.1
Watchdog Timer Sample Code
Watchdog function:
;The SCH3114 Runtime base I/O address is A00h
;Setting WatchDog time value location at offset 66h
;If set value "0", it is mean disable WatchDog function.
Superio_GPIO_Port = A00h
mov dx,Superio_GPI 66h
mov al,00h
out dx,al
.model small
.486p
.stack 256
.data
SCH3114_IO EQU A00h
.code
org 100h
.STARTup
;====================================================
;47H
;enable WDT function bit [0]=0Ch
;====================================================
mov dx,SCH3 47h
mov al,0Ch
out dx,al
;====================================================
;65H
;bit [1:0]=Reserved
;bit [6:2]Reserve=00000
;bit [7] WDT time-out Value Units Select
;Minutes=0 (default) Seconds=1
;====================================================
mov dx,SCH3 65h ;
mov al,080h
out dx,al
;====================================================
;66H
;WDT timer time-out value
;bit[7:0]=0~255
;====================================================
mov dx,SCH3 66h
mov al,01h
out dx,al
;====================================================
;bit[0] status bit R/W
;WD timeout occurred =1
Содержание ARK-1503
Страница 1: ...User Manual ARK 1503 Embedded IPC...
Страница 8: ...ARK 1503 User Manual viii...
Страница 12: ...ARK 1503 User Manual xii...
Страница 13: ...Chapter 1 1 General Introduction This chapter gives background information on ARK 1503 series...
Страница 18: ...ARK 1503 User Manual 6...
Страница 19: ...Chapter 2 2 Hardware installation This chapter introduces external IO and the installation of ARK 1503 Hardware...
Страница 34: ...ARK 1503 User Manual 22...
Страница 35: ...Chapter 3 3 BIOS settings This chapter introduces how to set BIOS configuration data...
Страница 58: ...ARK 1503 User Manual 46...
Страница 59: ...Appendix A A WDT GPIO Sample Code...
Страница 66: ...ARK 1503 User Manual 54...
Страница 67: ...Appendix B B Installation for ITM Panels B 1 Installation for ARK 1503P...
Страница 69: ...57 ARK 1503 User Manual Appendix B Installation for ITM Panels...