NANO830/831 Intel
mov
al,06h
out
dx,al
;Programming DI port as input.
mov
dx,2Eh
mov
al,0E0h
out
dx,al
mov
dx,2Fh
mov
al,Nh
out
dx,al
;Read digital input data.
mov
dx,2Eh
mov
al,0E1h
out
dx,al
mov
dx,2Fh
in
dx,al
;Programming DO port as output.
mov
dx,2Eh
mov
al,0E4h
out
dx,al
mov
dx,2Fh
mov
al,Xh
out
dx,al
; Set digital output pins value.
mov
dx,2Eh
mov
al,0E5h
out
dx,al
mov
dx,2Fh
mov
al,Yh
out
dx,al
Note1:
The N has 8 bits. Only bits 5,6,7 are programmable.
" 1" means that the bit is programmed to input.
" 0" means that the bit is programmed to output.
Ex:
N=E0h=11100000b
Bit7
Bit6
DI2
DI1
as input
as input
Note2:
1.
When DI0~2 are connected to external device, the device sets DI0~2 to high
Bit7
Bit6
DI2 = 1
DI1 = 1
2.
When DI0~2 are connected to external device, the device sets DI0 to low and DI1~2 to high
Bit7
Bit6
DI2 = 1
DI1 = 1
Digital I/O
®
Atom
;If N=E0h, DI is programmed as 3 inputs
;(see below
;bit5~7 are onboard digital I/O connector pin
;0~2 state (1 High, 0 Low) (see below
;If X=00h, DO is programmed as 5 outputs
;(see below
;set output value Y
;bit0~4 are onboard digital I/O connector pin
;0~4 state (1 High, 0 Low)
;(see below
Bit5
Bit4
DI0
No use
as input
Bit5
Bit4
DI0 = 1
No use
Bit5
Bit4
DI0 = 0
No use
TM
D2550/N2600 Processor Nano-ITX Board
Note1
)
Note3
)
Note4
)
Bit3
Bit2
No use
No use
Bit3
Bit2
No use
No use
Bit3
Bit2
No use
No use
Note2
)
Bit1
Bit0
No use
No use
Bit1
Bit0
No use
No use
Bit1
Bit0
No use
No use
65
Need help?
Do you have a question about the NANO830 and is the answer not in the manual?