18.2
Register Descriptions
18.2.1
Port Control Register A (PCTRA)
Port control register A (PCTRA) is a 32-bit readable/writable register that controls the
input/output direction and pull-up for each bit in the 16-bit port (port 15 pin to port 0 pin). As the
initial value of port data register A (PDTRA) is undefined, all the bits in the 16-bit port should be
set to output with PCTRA after writing a value to the PDTRA register.
PCTRA is initialized to H'00000000 by a power-on reset. It is not initialized by a manual reset or
in standby mode, and retains its contents.
Bit:
31
30
29
28
27
26
25
24
PB15PUP PB15IO PB14PUP PB14IO PB13PUP PB13IO PB12PUP PB12IO
Initial value:
R/W:
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit:
23
22
21
20
19
18
PB9IO
0
17
PB8PUP
0
16
PB8IO
0
PB11PUP PB11IO PB10PUP PB10IO PB9PUP
Initial value:
R/W:
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit:
15
PB7PUP
0
14
PB7IO
0
13
PB6PUP
0
12
PB6IO
0
11
PB5PUP
0
10
PB5IO
0
9
PB4PUP
0
8
PB4IO
0
Initial value:
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Bit:
7
PB3PUP
0
6
PB3IO
0
5
PB2PUP
0
4
PB2IO
0
3
PB1PUP
0
2
PB1IO
0
1
PB0PUP
0
0
PB0IO
0
Initial value:
R/W:
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Rev. 6.0, 07/02, page 742 of 986