Aaeon PCM-QM77 Instrukcja Użytkownika Strona 171

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 170
Compact Board PCM-QM77
Appendix E Digital I/O F-8
out dx, al
mov dx, 0f040h + 05h
mov al, ah
out dx, al
mov dx, 0f040h + 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,0f040h+ 0;status port
clc
mov cx,0800h
Chk_I2c_OK:
in al,dx ;get status
call Delay5ms
Przeglądanie stron 170
1 2 ... 166 167 168 169 170 171 172

Komentarze do niniejszej Instrukcji

Brak uwag