Aaeon PCM-QM77 Manuale Utente Pagina 169

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 168
Compact Board PCM-QM77
Appendix E Digital I/O F-6
call Delay5ms
mov dx, 0f040h + 04h ; Transmit Slave Address
Register
inc ch ; Set the slave address and
mov al, ch ; prepare for a READ command
out dx, al
mov dx, 0f040h + 03h ; Host Command Register
mov al, cl ; offset to read
out dx, al
mov dx, 0f040h + 05h
xor al, al ; Clear old data
out dx, al
mov dx, 0f040h + 02h ; Host Control Reegister
mov al, 48h ; Start a byte access
out dx, al
call CT_Chk_SMBus_Ready
mov dx, 0f040h + 05h
in al, dx
ret
Vedere la pagina 168
1 2 ... 164 165 166 167 168 169 170 171 172

Commenti su questo manuale

Nessun commento