Section 8 I/O Ports
Rev. 7.00 Mar 10, 2005 page 234 of 652
REJ09B0042-0700
Port Control Register A (PCRA)
Bit
Initial value
Read/Write
7

1

6

1

5

1

4

1

3
PCRA
0
W
0
PCRA
0
W
2
PCRA
0
W
1
PCRA
0
W
3210
PCRA controls whether each of port A pins PA
3
to PA
0
functions as an input pin or output pin.
Setting a PCRA bit to 1 makes the corresponding pin an output pin, while clearing the bit to 0
makes the pin an input pin. PCRA and PDRA settings are valid when the corresponding pins are
designated for general-purpose input/output by LPCR.
Upon reset, PCRA is initialized to H'F0.
PCRA is a write-only register, which is always read as all 1s.