![AXIOMTEK CAPA110 User Manual Download Page 69](http://html1.mh-extra.com/html/axiomtek/capa110/capa110_user-manual_3037503069.webp)
Single Board Computer
distronik GmbH
https://www.distronik.de
out
dx,al
mov
dx,2Fh
mov
al,02h
out
dx,al
;Programming DIO as in/out.
mov
dx,2Eh
mov
al,0E0h
out
dx,al
mov
dx,2Fh
mov
al,Nh
;If N=07h, DIO is programmed as 3 inputs
out
dx,al
;and 5 outputs (see below
Note1)
;Read digital input data.
mov
dx,2Eh
mov
al,0E1h
out
dx,al
mov
dx,2Fh
;If N=07h, bit0~2 represent DIO0~2,
in
dx, al
;bit0~2 are DIO pin 0~2 state (1 High, 0 Low)
;(see below
Note2)
; Set DIO digital output pins’ value.
mov
dx,2Eh
mov
al,0E1h
out
dx,al
mov
dx,2Fh
mov
al,M
;If N=07h, bit3~7 represent DIO3~7,
out
dx,al
;set output value M
;bit3~7 are DIO pin 3~7 state (1 High, 0 Low)
;if M=FFh, all DIO pins are high
;(see below
Note3)
54
Summary of Contents for CAPA110
Page 23: ...Single Board Computer distronik GmbH https www distronik de 5...
Page 65: ...Single Board Computer distronik GmbH https www distronik de 5...
Page 66: ...Single Board Computer distronik GmbH https www distronik de 1...
Page 67: ...Single Board Computer distronik GmbH https www distronik de 52...
Page 70: ...Single Board Computer distronik GmbH https www distronik de 5...
Page 71: ...Single Board Computer distronik GmbH https www distronik de 5...