User Manual

SubCompact Board GENE-U15B
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