AAEON GENE-U15B User Manual
Page 58
Advertising
S u b C o m p a c t B o a r d
G E N E - U 1 5 B
Appendix D DIO
D-7
xchg
ah,
al
mov dx, 500h + 00h
; Host Control Register
xor al, al
; Clear previous commands
out dx, al
call
Delay5ms
mov dx, 500h + 04h
; Transmit Slave
Address Register
mov al, ch
; Set the slave address and
out dx, al
; prepare for a WRITE
command
mov dx, 500h + 05h
; Host Command
Register
mov al, cl
; offset to write
out dx, al
mov dx, 500h + 06h
mov
al,
ah
out dx, al
mov dx, 500h + 01h ; Host Status Register
mov al, 07h
; Clear all status bits
out dx, al
Advertising