All manuals and user guides at all-guides.com
S u b C o m p a c t B o a r d
xor
out
mov
mov
out
mov
mov
out
call
CT_Chk_SMBus_Ready
mov
in
ret
Ct_I2CReadByte Endp
;Input : CL - register index
;
CH - device ID
;
AL - Value to write
;Output: none
Ct_I2CWriteByte Proc Near
mov ch,06eh
D-6
Appendix D DIO
al, al
; Clear old data
dx, al
dx, 500h + 01h ; Host Status Register
al, 07h
dx, al
dx, 500h + 00h
al, 12h ; Start a byte access
dx, al
dx, 500h + 06h
al, dx
G E N E - U 1 5 B
; Clear all status bits
; Host Control Reegister