MIO-5290 User Manual
80
C.1
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
Содержание MIO-5290
Страница 7: ...MIO 5290 User Manual vi...
Страница 11: ...MIO 5290 User Manual x...
Страница 17: ...MIO 5290 User Manual 6 1 3 Block Diagram...
Страница 19: ...MIO 5290 User Manual 8 Figure 1 3 MIO 5290U Mechanical Drawing Coastline...
Страница 26: ...Chapter 3 3 AMI BIOS Setup...
Страница 59: ...MIO 5290 User Manual 48...
Страница 60: ...Chapter 4 4 MIOe Installation...
Страница 79: ...MIO 5290 User Manual 68...
Страница 81: ...MIO 5290 User Manual 70 43 GND 44 NC 45 NC 46 NC 47 NC 48 1 5V 49 NC 50 GND 51 NC 52 3 3VSB...
Страница 83: ...MIO 5290 User Manual 72 43 GND 44 NC 45 NC 46 NC 47 NC 48 1 5V 49 NC 50 GND 51 NC 52 3 3VSB...
Страница 85: ...MIO 5290 User Manual 74...
Страница 89: ...MIO 5290 User Manual 78...
Страница 90: ...Appendix C C Watchdog Timer Sample Code...
Страница 92: ...81 MIO 5290 User Manual Appendix C Watchdog Timer Sample Code...