Aaeon TKS-G21-CV05 Manuel d'utilisateur Page 63

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 62
Embedded Box TKS-G21-CV05
Appendix C Digital I/O C-8
out dx, al
mov dx, 0f000h + 05h
mov al, ah
out dx, al
mov dx, 0f000h + 00h ; Host Control Register
mov al, 48h ; Start a byte access
out dx, al
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 Proc Near
mov dx,0f000h+ 0;status port
clc
mov cx,0800h
Chk_I2c_OK:
in al,dx ;get status
call Delay5ms
Vue de la page 62
1 2 ... 58 59 60 61 62 63 64

Commentaires sur ces manuels

Pas de commentaire