MIO-2261 User Manual
66
B.1
Watchdog Timer Sample Code
Watchdog function:
The SCH3114 Runtime base I/O address is 600h
Setting WatchDog time value location at offset 66h
If set value "0", it is mean disable WatchDog function.
Superio_GPIO_Port = 600h
mov dx,Superio_GPI 66h
mov al,00h
out dx,al
.model small
.486p
.stack 256
.data
SCH3114_IO EQU 600h
.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
Data Modul AG - www.data-modul.com
Summary of Contents for MIO-2261
Page 8: ...MIO 2261 User Manual viii Data Modul AG www data modul com ...
Page 16: ...MIO 2261 User Manual 6 Data Modul AG www data modul com ...
Page 28: ...MIO 2261 User Manual 18 Data Modul AG www data modul com ...
Page 29: ...Chapter 3 3 BIOS Settings Data Modul AG www data modul com ...
Page 45: ...Chapter 4 4 S W Introduction Installation Data Modul AG www data modul com ...
Page 55: ...Appendix A A PIN Assignments Data Modul AG www data modul com ...
Page 67: ...57 MIO 2261 User Manual Appendix A PIN Assignments Data Modul AG www data modul com ...
Page 69: ...59 MIO 2261 User Manual Appendix A PIN Assignments Data Modul AG www data modul com ...
Page 71: ...61 MIO 2261 User Manual Appendix A PIN Assignments Data Modul AG www data modul com ...
Page 75: ...Appendix B B WDT GPIO Data Modul AG www data modul com ...
Page 78: ...MIO 2261 User Manual 68 Data Modul AG www data modul com ...
Page 79: ...Appendix C C System Assignments Data Modul AG www data modul com ...