Aaeon PCM-QM77 Instrukcja Użytkownika Strona 168

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 167
Compact Board PCM-QM77
Appendix E Digital I/O F-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, 0f040h + 00h ; Host Control Register
mov al, 0ffh ; Clear previous
commands
out dx, al
Przeglądanie stron 167
1 2 ... 163 164 165 166 167 168 169 170 171 172

Komentarze do niniejszej Instrukcji

Brak uwag