2. Port control register A (PCRA)
Bit
7
—
1
6
—
1
5
—
1
4
—
1
3
2
1
0
PCRA3 PCRA2 PCRA1 PCRA 0
Initial value
Read/Write
0
0
0
0
—
—
—
—
R/W
R/W
R/W
R/W
PCRA controls whether each of port A pins PA3 to PA0 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 always reads all 1s.
172