Aaeon PCM-QM77 User Manual page 160

Hide thumbs Also See for PCM-QM77:
Table of Contents

Advertisement

in
al,dx
call
Delay5ms
out
dx,al
call
Delay5ms
test
al, 02H
jnz
short Clear_final
and
al, NOT 40H ;mask INUSE bit
or
al,al
jz
short Clear_final
test
al,04h
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
END begin
Appendix F – Digital I/O Ports
;get status
;clear status
;termination of command ?
;status OK ?
;device error
Endp
145

Advertisement

Table of Contents
loading

Table of Contents