All manuals and user guides at all-guides.com
S u b C o m p a c t B o a r d
mov
mov
out
call
CT_Chk_SMBus_Ready
ret
Ct_I2CWriteByte Endp
; Wait until the busy bit clears, indicating that the SMBUS
; activity has concluded.
CT_Chk_SMBus_Ready
mov
Check_I2C_ByteRead_ForBusy:
in
al, dx
test
jnz
Check_I2C_ByteRead_ForStatus:
in
D-8
Appendix D DIO
dx, 500h + 00h
al, 12h ; Start a byte access
dx, al
Proc Near
dx, 500h + 01h
al, 08h
Check_I2C_ByteRead_ForBusy
al, dx
G E N E - U 1 5 B
; Host Control Register
;R14
; Host Status Register