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

  • 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 59
Embedded Box TKS-G21-CV05
Appendix C Digital I/O C-5
begin:
mov cl,01h
mov al,80h
call CT_I2CWriteByte
call Delay5ms
mov al,00h
mov cl,20h
call CT_I2CWriteByte
mov cl,22h
call CT_I2CReadByte
;Input : CL - register index
; CH - device ID
;Output : AL - Value read
Ct_I2CReadByte Proc Near
mov ch,06eh
mov dx, 0f000h + 00h ; Host Control Register
mov al, 0ffh ; Clear previous
commands
out dx, al
Vue de la page 59
1 2 ... 55 56 57 58 59 60 61 62 63 64

Commentaires sur ces manuels

Pas de commentaire