Advantech PCM-3353 Manual de usuario Pagina 60

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 70
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 59
PCM-3353 User Manual 52
;===============================================================
====
;===============================================================
====
; Get GPIO Config
; Input:
; ax=5E87h
; bh=01h
; cl= n ; n means which group of GPIO you want to get
; output:
; ax=5E78 ;function success, other value means function fail
; bl= the n group of gpio config
; bit 0 = gpio 0 , 0 => output pin; 1 => input pin
; bit 1 = gpio 1 , 0 => output pin; 1 => input pin
; .....
; bit 7 = gpio 7 , 0 => output pin; 1 => input pin
;===============================================================
====
;===============================================================
====
; Set GPIO Config
; Input:
; ax=5E87h
; bh=02h
; cl= n ; n means which group of GPIO you want to set
; bl= the n group of gpio config
; bit 0 = gpio 0 , 0 => output pin; 1 => input pin
; bit 1 = gpio 1 , 0 => output pin; 1 => input pin
; .....
; bit 7 = gpio 7 , 0 => output pin; 1 => input pin
; output:
; ax=5E78 ;function success, other value means function fail
;===============================================================
====
;===============================================================
====
; Get GPIO status
; Input:
; ax=5E87h
; bh=03h
; cl= n ; n means which group of GPIO you want to get
; output:
; ax=5E78 ;function success, other value means function fail
Vista de pagina 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 69 70

Comentarios a estos manuales

Sin comentarios