Advantech PCM-9562 User Manual page 100

Table of Contents

Advertisement

mov
al,Fail_lenght
mul
cl
lea
dx, Fail_Str
add
dx,ax
cmp
bl,33h
jne
test_result
;RA02 - END
;RA02
cmp
;RA02
jne
test_fail
;4.Set GPIO 1,3,5,7 as output,GPIO 0,2,4,6 as input
;RA02 - START
pop
cx
push
cx
mov
ax,5e87h
mov
bx,0255h
int
15h
;RA02 - END
;4. Set GPIO 1,3,5,7 Output High
;RA02 - START
pop
cx
push
cx
mov
ax,5e87h
mov
bx,04ffh
int
15h
;RA02 - END
;6. Check GPIO 0,2,4,6 value
;RA02 - START
pop
cx
push
cx
mov
ax,5e87h
mov
bx,0300h
int
15h
pop
cx
push
cx
dec
cx
mov
al,Fail_lenght
mul
cl
lea
dx, Fail_Str
add
dx,ax
cmp
bl,0ffh
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
al,00h
;restore NO. of GPIO chip
;save NO. of GPIO chip
;restore NO. of GPIO chip
;save NO. of GPIO chip
;restore NO. of GPIO chip
;save NO. of GPIO chip
87
PCM-9562 User Manual

Advertisement

Table of Contents
loading

Table of Contents