
Compact Board PCM-QM77
Appendix E Digital I/O F-9
out dx,al ;clear status
call Delay5ms
test al, 02H ;termination of command ?
jnz short Clear_final
and al, NOT 40H ;mask INUSE bit
or al,al ;status OK ?
jz short Clear_final
test al,04h ;device error
jnz short SMBus_Err
loop short Chk_I2c_OK
;SMbus error due to timeout
SMBus_Err:
stc
ret
Clear_final:
clc
ret
CT_Chk_SMBus_Ready Endp
END begin
Kommentare zu diesen Handbüchern