Appendix C
38
User’s Manual
APPENDIX C. How to use Digital I/O
Step1 : Setup GPIO to Input or Output.
Step2 : Write Data to Output Pin or via Input Pin read data
'"
GPIO function setup port Address
GPIO 0~7 : 320H
GPIO 8~15: 328H
1: Input
0: Ouput
'"
GPIO Data port Address
GPIO 0~7: 326H
GPIO 8~15: 32EH
EX: 1. GPIO 0~7 defined Output and write 38 data,
Under DOS system :
Debug
"
-O 320 00
"
-O 926 38
"
2. GPIO 8~15 defined to Input and read data,
Under DOS system :
Debug
"
-O 328 FF
"
-I 32E
"
Summary of Contents for PC/104 Single Board Computer with STPC Atlas CPU, and VGA, LCD, LAN, SSD, on-board RAM, 4xCOM,...
Page 4: ......
Page 8: ...Chapter 1 Introduction 4 User s Manual 1 4 Board Layout...