Advantech PCM-3353 Instrukcja Użytkownika Strona 66

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 70
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 65
PCM-3353 User Manual 58
call Delay5ms
call Delay5ms
call CT_Chk_SMBus_Ready
pop ax
mov dl,03h
out dx,al ;Index
call Delay5ms
call Delay5ms
pop ax
mov dl,05
out dx,al ;Data0
call Delay5ms
call Delay5ms
mov dl,02h
mov al,48h
out dx,al ;write data
call Delay5ms
call Delay5ms
mov cx, 100h
@@:
newiodelay
loop short @B
call CT_Chk_SMBus_Ready
ret
Ct_I2CWriteByteEndp
CT_Chk_SMBus_ReadyProcNear
mov dx,SMBus_Port + 0;status port
clc
mov cx,0800h
Chk_I2c_OK:
in al,dx ;get status
NEWIODELAY
out dx,al ;clear status
NEWIODELAY
test al, 02H ;termination of command ?
jnz short Clear_final
Przeglądanie stron 65
1 2 ... 61 62 63 64 65 66 67 68 69 70

Komentarze do niniejszej Instrukcji

Brak uwag