Aaeon TKS-G21-CV05 Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
Embedded Box TKS-G21-CV05
Appendix C Digital I/O C-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
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64

Komentáře k této Příručce

Žádné komentáře