xr
PRELIMINARY
XRT86VL38
REV. P1.0.6
OCTAL T1/E1/J1 FRAMER/LIU COMBO
80
1
GPIO0_1
R/W
0
GPIO0_1 Control
The exact function of this bit-field depends upon whether General Pur-
pose I/O Pin, GPIO0_1 has been configured to function as an input
or an output pin, as described below.
If GPIO0_1 is configured to function as an input pin:
If GPIO0_1 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 GPIO0_1 is currently
pulled to a logic “LOW” level. Conversely, if this bit-field is set to “1”,
then it means that GPIO0_1 is currently pulled to a logic “HIGH” level.
N
OTE
: If GPIO0_1 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 GPIO0_1 is configured to function as an output pin:
If GPIO0_1 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 GPIO0_1 to be driven to a logic
“LOW” level.
Conversely, setting this bit-field to “1” will cause GPIO0_1 to be driven
to a logic “HIGH” level.
N
OTE
: GPIO_1 can be configured to function as either an input or out-
put pin, by writing the appropriate value to Bit 5 (General Purpose Pin
Direction[1], GPIO0_1DIR) within this register
0
GPIO0_0
R/W
0
GPIO0_0 Control
The exact function of this bit-field depends upon whether General Pur-
pose I/O Pin, GPIO0_0 has been configured to function as an input
or an output pin, as described below.
If GPIO0_0 is configured to function as an input pin:
If GPIO0_0 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 GPIO0_0 is currently
pulled to a logic “LOW” level. Conversely, if this bit-field is set to “1”,
then it means that GPIO0_0 is currently pulled to a logic “HIGH” level.
N
OTE
: If GPIO0_0 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 GPIO0_0 is configured to function as an output pin:
If GPIO0_0 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 GPIO0_0 to be driven to a logic
“LOW” level.
Conversely, setting this bit-field to “1” will cause GPIO0_0 to be driven
to a logic “HIGH” level.
N
OTE
: GPIO_0 can be configured to function as either an input or out-
put pin, by writing the appropriate value to Bit 4 (General Purpose Pin
Direction[0], GPIO0_0DIR) within this register
T
ABLE
13: G
ENERAL
P
URPOSE
I
NPUT
/O
UTPUT
0 C
ONTROL
R
EGISTER
R
EGISTER
2
A
G
ENERAL
P
URPOSE
I
NPUT
/O
UTPUT
0 C
ONTROL
R
EGISTER
(GPIOCR0) H
EX
A
DDRESS
: 0
X
0102
B
IT
F
UNCTION
T
YPE
D
EFAULT
D
ESCRIPTION
-O
PERATION