MIO-5271 User Manual
74
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
Stop WDT function = 0x29
Reset WDT function = 0x2A
====================================================
.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_Data_Port
mov al, 5Eh ; Watchdog reset delay time high byte index.
out dx,al
mov dx, EC_Data_Port
mov al, 00h ;Set 0 seconds delay time.
out dx,al
mov dx, EC_Data_Port
mov al,5Fh ; Watchdog reset delay time low 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_Data_Port
mov al,57h ; Watch dog event flag.
out dx,al
Summary of Contents for MIO-5271
Page 7: ...MIO 5271 User Manual vi...
Page 11: ...MIO 5271 User Manual x...
Page 19: ...MIO 5271 User Manual 8 Figure 1 3 MIO 5271 Mechanical Drawing Coastline...
Page 25: ...MIO 5271 User Manual 14...
Page 26: ...Chapter 3 3 AMI BIOS Setup...
Page 56: ...Chapter 4 4 MIOe Installation...
Page 71: ...MIO 5271 User Manual 60...
Page 83: ...MIO 5271 User Manual 72...