Example Program; A.1.3 Example Program - Advantech PCI-7030 User Manual

Intel atom n270 1.6ghz fsb533mhz, pci half-size sbc with dual gbe lan/lvds/dvi/2 sata/6 com by module
Hide thumbs Also See for PCI-7030:
Table of Contents

Advertisement

A.1.3

Example Program

1.
Enable watchdog timer and set 10 sec. as timeout interval
;--------------------------------------------------------
mov dx,2eh ; Unlock IT8718F
mov al,87h
out dx,al
mov al,01h
out dx,al
mov al,55h
out dx,al
mov al,55h
out dx,al
;-----------------------------------------------------------
mov dx,2eh ; Select LDN of GPIO ConfigurationRegister
mov al,07h
out dx,al
inc dx
mov al,07h
out dx,al
;---- Set second as counting unit ------------------
mov dx,2eh
mov al,72h out dx,al
inc dx
in al,dx
or al,80h
out dx,al
;-----------------------------------------------------------
mov dx,2eh ; Set timeout interval as 10 seconds and start counting
mov al,74h out dx,al
inc dx
mov al,00h
out dx,al
mov dx,2eh
mov al,73h
out dx,al
inc dx
mov al, 0Ah
out dx, al
;-----------------------------------------------------------
mov dx,2eh ; Lock IT8718F
mov al,0aah
out dx,al
;
59
PCI-7030 User Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-7030vg-00a1ePci-7030g2-00a1e

Table of Contents