A.3 Sample Program - AXIOMTEK PICO840 User Manual

Intel atom e3845/e3827 intel celeron j1900/n2807 processors pico-itx board
Hide thumbs Also See for PICO840:
Table of Contents

Advertisement

PICO840/842 Pico-ITX Board

A.3 Sample Program

Assembly sample code :
;Enable WDT:
mov
dx,2Eh
mov
al,87
out
dx,al
out
dx,al
;Select Logic device:
mov
dx,2Eh
mov
al,07h
out
dx,al
mov
dx,2Fh
mov
al,07h
out
dx,al
;Enable WDT base address:
mov
dx,2Eh
mov
al,30h
out
dx,al
mov
dx,2Fh
mov
al,01h
out
dx,al
;Activate WDT:
mov
dx,2Eh
mov
al,0F0h
out
dx,al
mov
dx,2Fh
mov
al,80h
out
dx,al
;Set base timer :
mov
dx,2Eh
mov
al,0F6h
out
dx,al
mov
dx,2Fh
mov
al,Mh
out
dx,al
;Set Second or Minute :
mov
dx,2Eh
mov
al,0F5h
out
dx,al
mov
dx,2Fh
mov
al,Nh
out
dx,al
Note:
If N=71h, the time base is set to second.
M = time value
00: Time-out Disable
01: Time-out occurs after 1 second
02: Time-out occurs after 2 seconds
03: Time-out occurs after 3 seconds
.
.
FFh: Time-out occurs after 255 seconds
60
;Un-lock super I/O
;M=00h,01h,...FFh (hex),Value=0 to 255
Note
;(see below
;N=71h or 79h(see below
)
Note
)
BIOS Flash Utility

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PICO840 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Pico842

Table of Contents