English
Language : 

SH7708 Datasheet, PDF (435/625 Pages) Renesas Technology Corp – SuperH™ RISC engine
15.1.4 Register Configuration
Table 15.3 shows the configuration of the two registers of the 8-bit general-purpose I/O port
(PCTR and PDTR) and the one register of the SCI I/O port (SCSPTR).
Table 15.3 Register Configuration
Register
Symbol R/W
Initial
Value*1
Address
Access
Size
Port control register PCTR
R/W
H'0000
H'FFFFFF76
16
Port data register
PDTR
R/W
Undefined
H'FFFFFF78
8
Serial port register
SCSPTR R/W
*2
H'FFFFFF7C
8
Notes: 1. Initialized by a power-on reset.
2. Bits other than 2 and 0 are initialized to H'00. Bits 2 and 0 are undefined.
15.2 Register Descriptions
15.2.1 Port Control Register (PCTR)
Bit: 15
14
13
12
11
10
9
8
Bit name: PB7 PB7 PB6 PB6 PB5 PB5 PB4 PB4
PUP
IO
PUP
IO
PUP
IO
PUP
IO
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit: 7
6
5
4
3
2
1
0
Bit name: PB3 PB3 PB2 PB2 PB1 PB1 PB0 PB0
PUP
IO
PUP
IO
PUP
IO
PUP
IO
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
The port control register (PCTR) is a 16-bit read/write register that controls the input/output
direction and pull-up for each bit in the 8-bit port. As the initial value of the port data register
(PDR) is undefined, all the bits in the 8-bit port should be set to output with PCTR after
writing a value to the PDTR register.
PCTR is initialized to H'0000 by a power-on reset. It is not initialized by a manual reset or in
standby mode, and retains its contents.
421