MIO-5270 User Manual
62
C.1
EC Watchdog Timer sample code
EC_Command_Port = 0x29Ah
EC_Data_Port = 0x299h
Write EC HW ram = 0x89
Watch dog event flag = 0x57
Watchdog reset delay time = 0x5E
Reset event = 0x04
Start WDT function = 0x28
====================================================
.model small
.486p
.stack 256
.data
.code
org 100h
.STARTup
mov dx, EC_Command_Port
mov al,89h ; Write EC HW ram.
out dx,al
mov dx, EC_Command_Port
mov al, 5Fh ; Watchdog reset delay time low byte (5Eh is high byte) index.
out dx,al
mov dx, EC_Data_Port
mov al, 30h ;Set 3 seconds delay time.
out dx,al
mov dx, EC_Command_Port
mov al,89h ; Write EC HW ram.
out dx,al
mov dx, EC_Command_Port
mov al, 57h ; Watch dog event flag.
out dx,al
mov dx, EC_Data_Port
mov al, 04h ; Reset event.
out dx,al
mov dx, EC_Command_Port
mov al,28h ; start WDT function.
out dx,al
exit
END
Содержание MIO-5270
Страница 1: ...User Manual MIO 5270 ...
Страница 8: ...MIO 5270 User Manual viii ...
Страница 11: ...Chapter 1 1 General Information ...
Страница 17: ...Chapter 2 2 Hardware Installation ...
Страница 25: ...Chapter 3 3 BIOS Settings ...
Страница 42: ...MIO 5270 User Manual 32 ...
Страница 43: ...Chapter 4 4 MIOe Installation ...
Страница 45: ...Appendix A A Pin Assignments ...
Страница 66: ...MIO 5270 User Manual 56 ...
Страница 67: ...Appendix B B System Assignment ...
Страница 70: ...MIO 5270 User Manual 60 ...
Страница 71: ...Appendix C C Watchdog Timer Sample Code ...
Страница 73: ...Appendix D D AMD G Series ...
Страница 75: ...65 MIO 5270 User Manual Appendix D AMD G Series ...