Advantech PCM-9588 User Manual page 95

Intel celeron m ebx sbc with dvi/ ttl/ vga/ lvds/ lan/ 6 com/ 2 sata / 6 usb2.0/ 16bit gpio
Hide thumbs Also See for PCM-9588:
Table of Contents

Advertisement

push
cx
mov
ax,5e87h
mov
bx,0422h
int
15h
;5. Check GPI 0,2,4,6 value
pop
cx
push
cx
mov
ax,5e87h
mov
bx,03FFh
int
15h
pop
cx
push
cx
dec
cx
mov
al,Fail_lenght
mul
cl
lea
dx, Fail_Str
add
dx,ax
cmp
bl,33h
jne
test_result
pop
cx
push
cx
dec
cx
mov
al,Success_lenght
mul
cl
lea
dx, Success1_Str
add
dx,ax
;Do Second PCA9554 test
;1.Set GPIO 0,2,4,6 as output, GPI 1,3,5,7 as input
test_result:
mov
ah,09h
int
21h
pop
cx
dec
cx
jnz
next_test
Finish_Test:
popa
.exit
;==============================================================
;Input
: CL - register index
;
CH - device ID
;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
;restore NO. of GPIO chip
;save NO. of GPIO chip
85
PCM-9588 User Manual

Advertisement

Table of Contents
loading

Table of Contents