ARK-2151S User Manual
58
A.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_ 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
Содержание ARK-2151S
Страница 1: ...User Manual ARK 2151S Outdoor Full HD NVR w 4 PoE Ports ...
Страница 7: ...Chapter 1 1 General Introduction This chapter gives background information on ARK 2151S series ...
Страница 11: ...Chapter 2 2 Hardware installation This chapter introduces the instal lation of ARK 2151S Hardware ...
Страница 16: ...ARK 2151S User Manual 10 2 Insert full size WWAN module in marked place ...
Страница 22: ...ARK 2151S User Manual 16 ...
Страница 23: ...Chapter 4 4 Pin Assignments This chapter explains Pin Assign ments of ARK 2151S Series ...
Страница 30: ...ARK 2151S User Manual 24 ...
Страница 31: ...Chapter 5 5 BIOS settings This chapter introduces how to set BIOS configuration data ...
Страница 62: ...ARK 2151S User Manual 56 ...
Страница 63: ...Appendix A A WDT Sample Code ...
Страница 65: ...59 ARK 2151S User Manual Appendix A WDT Sample Code ...