ROHS EmETXe-i9652 User Manual page 76

Table of Contents

Advertisement

mov
mov
mov
out
mov
mov
mov
out
mov
mov
mov
out
mov
mov
mov
out
mov
mov
mov
out
;-------------------------------------------------------------
mov
mov
mov
out
mov
mov
mov
out
mov
mov
mov
out
mov
mov
mov
out
ax,400h
dx,ax
al,0ffh
dx,ax
ax,404h
dx,ax
al,06eh
dx,ax
ax,403h
dx,ax
al,020h
dx,ax
ax,405h
dx,ax
al,0ffh
dx,ax
ax,402h
dx,ax
al,048h
dx,ax
ax,402h
dx,ax
al,00h
dx,al
ax,400h
dx,ax
al,0ffh
dx,ax
ax,404h
dx,ax
al,06eh
dx,ax
ax,403h
dx,ax
al,011h
dx,ax
; clear i2c bus status
; Set I2C Device Address=6eh
;select GPIO 2 (index=20h)
;Set all GPIO 2 pin as output
;start write, active
; clear i2c bus
; clear i2c bus status
; Set I2C Device Address=6eh
;select GPIO 1 data register (index=11h)
- 72 -
Appendix

Advertisement

Table of Contents
loading

Table of Contents