User`s manual

NANO830/831 Intel
®
Atom
TM
D2550/N2600 Processor Nano-ITX Board
64 Digital I/O
Appendix B
Digital I/O
About Digital I/O
The onboard digital I/O has 8 bits (DI0~2 and DO0~4). Each bit can be set to function as input
or o
utput by software programming. In default, all pins are pulled high with +5V level
(according to main power).
CN1
Digital I/O Programming
Assembly sample code :
Set functionality:
;Start set DIO program:
mov dx,2Eh ;Un-lock super I/O
mov al,87h
out dx,al
out dx,al
mov dx,2Eh ;Switch to DIO logic device
mov al,07h
out dx,al
mov dx,2Fh
mov al,08h
out dx,al
mov dx,2Eh ;Enable DI and DO port
mov al,30h
out dx,al
mov dx,2Fh
Pin Signal Pin Signal
1 DI0 2 DO0
3 DI1 4 DO1
5 DI2 6 DO2
7 GND 8 DO3
9 GND 10 DO4