Advantech PCM-3353 Manual do Utilizador Página 67

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 70
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 66
59 PCM-3353 User Manual
Appendix D GPIO Sample Code
and al, NOT 40H;mask INUSE bit
or al,al ;status OK ?
jz short Clear_final
test al,04h ;device error
jnz short SMBus_Err
loop short Chk_I2c_OK
;SMbus error due to timeout
SMBus_Err:
stc
ret
Clear_final:
clc
ret
CT_Chk_SMBus_ReadyEndp
;;===============================================================
===
Delay5msprocnear
push cx
mov cx, 1000
@@:
NEWIODELAY
loop short @B
pop cx
ret
Delay5ms ENDP
Phoenix_debuger proc near
pushf
push cx
push offset PhdebugRetAddr
push cs
push cs
db 0EAh
dw 0013h
dw 0DA00h
PhdebugRetAddr:
popf
Phoenix_debuger endp
;===============================================================
====
; Program END
Vista de página 66
1 2 ... 62 63 64 65 66 67 68 69 70

Comentários a estes Manuais

Sem comentários