XRT86VL38
PRELIMINARY
xr
OCTAL T1/E1/J1 FRAMER/LIU COMBO
REV. P1.0.6
83
2
GPIO1_2
R/W
0
GPIO1_2 Control
The exact function of this bit-field depends upon whether General Pur-
pose I/O Pin, GPIO1_2 has been configured to function as an input
or an output pin, as described below.
If GPIO1_2 is configured to function as an input pin:
If GPIO1_2 is configured to function as an input pin, then the user can
monitor the state of this particular input pin by reading out the state of
this bit-field.
If this bit-field is set to “0” then it means that GPIO1_2 is currently
pulled to a logic “LOW” level. Conversely, if this bit-field is set to “1”,
then it means that GPIO1_2 is currently pulled to a logic “HIGH” level.
N
OTE
: If GPIO1_2 is configured to function as an input pin, then writing
to this particular register will have no affect on the state of this pin.
If GPIO1_2 is configured to function as an output pin:
If GPIO1_2 is configured to function as an output pin, then the user can
control the state of this particular output pin by writing the appropriate
value to this bit-field.
Setting this bit-field to “0” will cause GPIO1_2 to be driven to a logic
“LOW” level.
Conversely, setting this bit-field to “1” will cause GPIO1_2 to be driven
to a logic “HIGH” level.
N
OTE
: GPIO1_2 can be configured to function as either an input or out-
put pin, by writing the appropriate value to Bit 6 (General Purpose Pin
Direction[2], GPIO1_2DIR) within this register
T
ABLE
14: G
ENERAL
P
URPOSE
I
NPUT
/O
UTPUT
1 C
ONTROL
R
EGISTER
R
EGISTER
2
B
G
ENERAL
P
URPOSE
I
NPUT
/O
UTPUT
1 C
ONTROL
R
EGISTER
(GPIOCR1) H
EX
A
DDRESS
: 0
X
4102
B
IT
F
UNCTION
T
YPE
D
EFAULT
D
ESCRIPTION
-O
PERATION