![GE C2K Скачать руководство пользователя страница 94](http://html.mh-extra.com/html/ge/c2k/c2k_hardware-reference-manual_129562094.webp)
C2K User’s Guide
5-28
Resources
GPIO I/O Data Register
The GPIO I/O Data Read Register both controls the GPIO output states, as well as reports the
input states. The states are controlled as configured in the GPIO Polarity, Direction and Output
Type registers.
When an output bit is defined as active-high, the output will be high when register bit is written to
“1” and low when the register bit is written to “0”. When an output bit is defined as active-low,
the output will be low when the register bit is written to “1” and high when the register bit is writ-
ten to “0”.
5
GPIO5_INPUT_DATA
-
GPIO5 Input Data Read—reads the GPIO Polarity Register
for the GPIO5 line
0 = inactive state
1 = active state
4
GPIO4_INPUT_DATA
-
GPIO4 Input Data Read—reads the GPIO Polarity Register
for the GPIO4 line
0 = inactive state
1 = active state
3
GPIO3_INPUT_DATA
-
GPIO3 Input Data Read—reads the GPIO Polarity Register
for the GPIO3 line
0 = inactive state
1 = active state
2
GPIO2_INPUT_DATA
-
GPIO2 Input Data Read—reads the GPIO Polarity Register
for the GPIO2 line
0 = inactive state
1 = active state
1
GPIO1_INPUT_DATA
-
GPIO1 Input Data Read—reads the GPIO Polarity Register
for the GPIO1 line
0 = inactive state
1 = active state
0
GPIO0_INPUT_DATA
-
GPIO0 Input Data Read—reads the GPIO Polarity Register
for the GPIO0 line
0 = inactive state
1 = active state
Address offset:
0x42
Access:
Read/Write
Bits
Field
Default
Description
15
GPIO15_IO_DATA
-
GPIO15 I/O Data Read—controls the GPIO output states, as
well as reports the input states for the GPIO Polarity Register
for the GPIO15 line
0 = inactive state
1 = active state
14
GPIO14_IO_DATA
-
GPIO14 I/O Data Read—controls the GPIO output states, as
well as reports the input states for the GPIO Polarity Register
for the GPIO14 line
0 = inactive state
1 = active state
Bits
Field
Default
Description
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com