Advantech PCM-3363 User Manual page 84

Pci-104 sbc w/intel® atom™ n455/d525, vga, lvds, gigabit ethernet, usb2.0, sata, and on-board memory
Table of Contents

Advertisement

push
dec
mov
mul
lea
add
cmp
jne
cmp
jne
;4.Set GPIO 1,3,5,7 as output,GPIO 0,2,4,6 as input
pop
push
mov
mov
int
;5. Set GPIO 1,3,5,7 Output High
pop
push
mov
mov
int
;6. Check GPIO 0,2,4,6 value
pop
push
mov
mov
int
pop
push
dec
mov
mul
lea
add
cmp
jne
;4. Set GPIO 1,3,5,7 Output differential
pop
PCM-3363 User Manual
cx
;save NO. of GPIO chip
cx
al,Fail_lenght
cl
dx, Fail_Str
dx,ax
bl,33h
test_result
al,00h
test_fail
cx
cx
ax,5e87h
bx,0255h
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,04ffh
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
ax,5e87h
bx,0300h
15h
cx
;restore NO. of GPIO chip
cx
;save NO. of GPIO chip
cx
al,Fail_lenght
cl
dx, Fail_Str
dx,ax
bl,0ffh
test_result
cx
;restore NO. of GPIO chip
76

Advertisement

Table of Contents
loading

Table of Contents