DIGITAL-LOGIC AG
SM800/900DK Technical Manual V1.2B
87
;CRF2 (GP30-GP35 inversion register. Bit 7-6: Reserve)
;When set to a '1', the incoming/outgoing port value is inverted.
;When set to a '0', the incoming/outgoing port value is the same as in data register.
MOV DX,2EH
MOV AL,0F2H
OUT DX,AL
; select CRF2
MOV DX,2FH
IN AL, DX
AND AL, ...
; user masks for separated IOs
OR AL, ...
; ----""----
OUT DX,AL
; update CRF2
;
;CRF1 (GP30-GP35 data register. Bit 7-6: Reserve)
;If a port is programmed to be an output port, then its respective bit can be read/written.
;If a port is programmed to be an input port, then its respective bit can only be read.
MOV DX,2EH
MOV AL,0F1H
OUT DX,AL
; select CRF1
MOV DX,2FH
IN AL, DX
; read data from GPIOs - into AL - just an example!!!
;
MOV AL, ...
;
OUT DX, AL
; write data to GPIOs
;------------------------------------------
; Exit extended function mode
;------------------------------------------
MOV DX,2EH
MOV AL,0AAH
OUT DX,AL
RET
Summary of Contents for SM800/900DK
Page 14: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 14 2 3 Block Diagrams 2 3 1 MSEBX800 900 ...
Page 23: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 23 4 1 Connector Plan ...
Page 36: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 36 5 3 Jumpers on the MSEBX800 ...
Page 48: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 48 12 1 2 PCB to SM800 900PC X Height ...
Page 89: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 89 ...
Page 90: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 90 ...
Page 91: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 91 ...
Page 92: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 92 ...
Page 93: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 93 ...
Page 94: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 94 ...
Page 95: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 95 ...
Page 96: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 96 ...
Page 97: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 97 ...
Page 98: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 98 ...
Page 99: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 99 ...
Page 100: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 100 ...
Page 101: ...DIGITAL LOGIC AG SM800 900DK Technical Manual V1 2B 101 ...