GE C2K Hardware Reference Manual page 94

Table of Contents

Advertisement

Bits
Field
5
GPIO5_INPUT_DATA
4
GPIO4_INPUT_DATA
3
GPIO3_INPUT_DATA
2
GPIO2_INPUT_DATA
1
GPIO1_INPUT_DATA
0
GPIO0_INPUT_DATA
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".
Address offset:
0x42
Access:
Read/Write
Bits
Field
15
GPIO15_IO_DATA
14
GPIO14_IO_DATA
C2K User's Guide
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Default
-
GPIO5 Input Data Read—reads the GPIO Polarity Register
for the GPIO5 line
0 = inactive state
1 = active state
-
GPIO4 Input Data Read—reads the GPIO Polarity Register
for the GPIO4 line
0 = inactive state
1 = active state
-
GPIO3 Input Data Read—reads the GPIO Polarity Register
for the GPIO3 line
0 = inactive state
1 = active state
-
GPIO2 Input Data Read—reads the GPIO Polarity Register
for the GPIO2 line
0 = inactive state
1 = active state
-
GPIO1 Input Data Read—reads the GPIO Polarity Register
for the GPIO1 line
0 = inactive state
1 = active state
-
GPIO0 Input Data Read—reads the GPIO Polarity Register
for the GPIO0 line
0 = inactive state
1 = active state
Default
-
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
-
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
Resources
Description
Description
5-28

Advertisement

Table of Contents
loading

Table of Contents