DFI EC800 User Manual page 66

Fanless embedded system
Hide thumbs Also See for EC800:
Table of Contents

Advertisement

Digital I/O Proramming Guide
1. Pins for Digital I/O
Item
GPIO80 (Pin111)
GPIO81 (Pin112)
GPIO82 (Pin113)
GPIO83 (Pin114)
GPIO84 (Pin115)
GPIO85 (Pin116)
GPIO86 (Pin117)
GPIO87 (Pin118)
GPIO71 (Pin104)
GPIO72 (Pin105)
2. Programming Guide
To program the F81866A configuration registers, the following configuration procedures must
be followed in sequence:
(1) Enter the Extended Function Mode
(2) Configure the configuration registers
(3) Exit the Extended Function Mode
The configuration register is used to control the behavior of the corresponding devices. To con-
figure the register, using the index port to select the index and then writing data port to alter
the parameters. The default index port and data port are 0x4E and 0x4F respectively. Pull
down the SOUT1 pin to change the default value to 0x2E/0x2F. To enable configu-
ration, the entry key 0x87 must be written to the index port. To disable configura-
tion, write exit entry key 0xAA to the index port. Following is an example to enable
configuration and disable configuration by using debug.
-o 4e 87
-o 4e 87 (enable configuration)
-o 4e aa (disable configuration)
Appendix E Digital I/O User Guide
Appendix E
Standard
GP80
GP81
GP82
GP83
GP84
GP85
GP86
GP87
CTR-GP71
CTR-GP72
3. Relative Registers
66
www.dfi .com

Advertisement

Table of Contents
loading

Table of Contents