English
Language : 

HD6417751 Datasheet, PDF (759/1105 Pages) Renesas Technology Corp – SuperH RISC engine
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 A (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 A
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
PB15PUP
Initial value: 0
R/W: R/W
30
PB15IO
0
R/W
29
PB14PUP
0
R/W
28
PB14IO
0
R/W
27
PB13PUP
0
R/W
26
PB13IO
0
R/W
25
PB12PUP
0
R/W
24
PB12IO
0
R/W
Bit: 23
22
21
20
PB11PUP PB11IO PB10PUP PB10IO
Initial value: 0
0
0
0
R/W: R/W
R/W
R/W
R/W
19
PB9PUP
0
R/W
18
PB9IO
0
R/W
17
PB8PUP
0
R/W
16
PB8IO
0
R/W
Bit: 15
PB7PUP
Initial value: 0
R/W: R/W
14
PB7IO
0
R/W
13
PB6PUP
0
R/W
12
PB6IO
0
R/W
11
PB5PUP
0
R/W
10
PB5IO
0
R/W
9
PB4PUP
0
R/W
8
PB4IO
0
R/W
Bit: 7
PB3PUP
Initial value: 0
R/W: R/W
6
PB3IO
0
R/W
5
PB2PUP
0
R/W
4
PB2IO
0
R/W
3
PB1PUP
0
R/W
2
PB1IO
0
R/W
1
PB0PUP
0
R/W
0
PB0IO
0
R/W
Bit 2n + 1 (n = 0–15)—Port Pull-Up Control (PBnPUP): Specifies whether each bit in the 16-
bit port A is to be pulled up with a built-in resistor. Pull-up is automatically turned off for a port
pin set to output by bit PBnIO.
Bit 2n + 1: PBnPUP
0
1
Description
Bit m (m = 0–15) of 16-bit port A is pulled up
Bit m (m = 0–15) of 16-bit port A is not pulled up
(Initial value)
Rev. 3.0, 04/02, page 719 of 1064