PCM-9376 User Manual
64
C.1
EC Watchdog Timer Sample Code
EC_Command_Port = 0x29Ah
EC_Data_Port = 0x299h
Write EC HW ram = 0x89
Watchdog event flag = 0x57
Watchdog reset delay time = 0x5E (high byte), 0x5F (low byte)
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, 5Fh ; Watchdog reset delay time low byte (5Eh
is high byte) index, Timebase: 100ms
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 ; Watchdog event flag.
out dx,al
mov dx, EC_Data_Port
mov al, 04h ; Reset event.
out dx,al
mov dx, EC_Command_Port
Содержание PCM-9376
Страница 7: ...PCM 9376 User Manual vi...
Страница 14: ...5 PCM 9376 User Manual Chapter 1 General Introduction...
Страница 15: ...PCM 9376 User Manual 6...
Страница 24: ...15 PCM 9376 User Manual Chapter 2 H W Installation Figure 2 6 Board Dimension Layout Coastline unit mm...
Страница 25: ...PCM 9376 User Manual 16...
Страница 26: ...Chapter 3 3 BIOS Settings...
Страница 33: ...PCM 9376 User Manual 24 3 4 4 Trusted Computing TPM support Enable or disable TPM support for security...
Страница 47: ...PCM 9376 User Manual 38...
Страница 48: ...Appendix A A Pin Assignments...
Страница 67: ...PCM 9376 User Manual 58...
Страница 68: ...Appendix B B System Assignment...
Страница 71: ...PCM 9376 User Manual 62...
Страница 72: ...Appendix C C Watchdog Timer Programming...
Страница 74: ...65 PCM 9376 User Manual Appendix C Watchdog Timer Programming mov al 28h start WDT function out dx al exit END...