2. Port Control Register A (PCRA)
Bit
7
—
Initial value
1
Read/Write
—
PCRA controls whether each of port A pins PA
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 always reads all 1s.
6
5
4
—
—
—
1
1
1
—
—
—
to PA
3
3
2
PCRA
PCRA
3
2
0
0
R/W
R/W
functions as an input pin or output pin.
0
Rev. 6.00 Aug 04, 2006 page 249 of 680
Section 8 I/O Ports
1
0
PCRA
PCRA
1
0
0
0
R/W
R/W
REJ09B0145-0600