System Installation
3.8.3 Example
Define GPIO4 as output pin, and output “0” to this pin.
mov
dx,2eh
; Enter Configuration Mode
mov al,87h
out dx,al
jmp $+2
out dx,al
mov dx,2eh
mov
al,2Ah
; Read CR2A
out dx,al
mov dx,2fh
in al,dx
or al,0FCh
;
CR2A_Bit[7..2].P[1,1,1,1,1,1]
mov ah,al
mov dx,2eh
mov al,2Ah
out dx,al
mov dx,2fh
mov al,ah
out dx,al
mov dx,2eh
mov
al,07h
; Point to LDN7
out dx,al
mov dx,2fh
mov al,07h
out dx,al
mov
dx,2eh
; Read CR30
mov al,30h
out dx,al
mov dx,2fh
in al,dx
or al,01h
mov ah,al
mov dx,2eh
;
CR30_Bit0.P1
mov al,30h
out dx,al
mov dx,2fh
mov al,ah
out dx,al
ROBO-8717VG2A User’s Manual
3-10