
ARK-2232 User Manual
60
A.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
Содержание ARK-2232
Страница 1: ...User Manual ARK 2232 Fanless Embedded Box Computer...
Страница 11: ...Chapter 1 1 General Introduction This chapter gives background information on ARK 2232 series...
Страница 17: ...Chapter 2 2 H W Installation This chapter introduces external IO and the installation of ARK 2232 hardware...
Страница 36: ...ARK 2232 User Manual 26...
Страница 37: ...Chapter 3 3 AMI BIOS Setup...
Страница 40: ...ARK 2232 User Manual 30 Setup Item Hidden Enable or Disable setup item 3 1 2 1 Driver Health...
Страница 56: ...ARK 2232 User Manual 46 3 1 3 1 North Bridge Max TOLUD Maximum Value of TOLUD 3 1 3 2 South Bridge...
Страница 68: ...ARK 2232 User Manual 58...
Страница 69: ...Appendix A A Watchdog Timer Sample Code...
Страница 71: ...61 ARK 2232 User Manual Appendix A Watchdog Timer Sample Code...