AAEON GENE-U15B User Manual
Page 57
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-6
xor al, al
; Clear old data
out dx, al
mov dx, 500h + 01h ; Host Status Register
mov al, 07h
; Clear all status bits
out dx, al
mov dx, 500h + 00h
; Host Control Reegister
mov al, 12h ; Start a byte access
out dx, al
call
CT_Chk_SMBus_Ready
mov dx, 500h + 06h
in al, dx
ret
Ct_I2CReadByte Endp
;Input : CL - register index
;
CH - device ID
;
AL - Value to write
;Output: none
Ct_I2CWriteByte Proc Near
mov
ch,06eh
Advertising