Advantech IPPC-8151S Series Manuale Utente Pagina 36

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 46
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 35
IPPC-8151S User Manual 28
A.3 Example Programs
1. Enable watchdog timer and set 10 seconds of timeout interval
;----------------------------
; enter configuration state
;----------------------------
mov dx, 2Eh
mov al, 55h
out dx, al
;----------------------------
; select watchdog registers
;----------------------------
mov al, 7
mov dx, 2Eh
out dx, al
mov dx, 2Fh
mov al, 0ah
out dx, al
;----------------------------
; get base address
;----------------------------
mov al, 60h
mov dx, 2Eh
out dx, al
mov dx, 2Fh
in al, dx
mov ah, al
mov al, 61h
Vedere la pagina 35
1 2 ... 31 32 33 34 35 36 37 38 39 40 41 ... 45 46

Commenti su questo manuale

Nessun commento