PCM-3365 User Manual
70
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_Data_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_Data_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
Summary of Contents for PCM-3365
Page 7: ...PCM 3365 User Manual vi...
Page 15: ...PCM 3365 User Manual 6 Figure 1 3 PCM 3365 Mechanical Drawing Coastline 1 60 9 35 11 45 7 74...
Page 21: ...PCM 3365 User Manual 12...
Page 22: ...Chapter 3 3 AMI BIOS Setup...
Page 51: ...PCM 3365 User Manual 42...
Page 77: ...PCM 3365 User Manual 68...
Page 78: ...Appendix C C Watchdog Timer Sample Code...
Page 80: ...71 PCM 3365 User Manual Appendix C Watchdog Timer Sample Code...