English
Language : 

SH7059 Datasheet, PDF (714/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
23. I/O Ports (I/O)
23.3.2 Port B Data Register (PBDR)
Bit: 15
14
13
12
11
10
9
8
PB15 PB14 PB13 PB12 PB11 PB10 PB9 PB8
DR
DR
DR
DR
DR
DR
DR
DR
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
PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0
DR
DR
DR
DR
DR
DR
DR
DR
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 B data register (PBDR) is a 16-bit readable/writable register that stores port B data. Bits PB15DR to PB0DR
correspond to pins PB15/PULS5/SCK2/SSCK1 to PB0/TO6A.
When a pin functions as a general output, if a value is written to PBDR, that value is output directly from the pin, and if
PBDR is read, the register value is returned directly regardless of the pin state.
When a pin functions as a general input, if PBDR is read, the pin state, not the register value, is returned directly. If a
value is written to PBDR, although that value is written into PBDR, it does not affect the pin state. Table 23.4 summarizes
port B data register read/write operations.
PBDR is initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), in hardware standby mode, and in
software standby mode. It is not initialized in sleep mode.
Table 23.4 Port B Data Register (PBDR) Read/Write Operations
Bits 15 to 0:
PBIOR
0
1
Pin Function
Read
General input
Pin state
Other than general input Pin state
General output
PBDR value
Other than general
output
PBDR value
Write
Value is written to PBDR, but does not affect pin state
Value is written to PBDR, but does not affect pin state
Write value is output from pin
Value is written to PBDR, but does not affect pin state
23.3.3 Port B Port Register (PBPR)
Bit: 15
14
13
12
11
10
9
PB15PR PB14PR PB13PR PB12PR PB11PR PB10PR PB9PR
Initial value: PB15 PB14 PB13 PB12 PB11 PB10 PB9
R/W: R
R
R
R
R
R
R
8
PB8PR
PB8
R
Bit: 7
6
5
4
3
2
1
0
PB7PR PB6PR PB5PR PB4PR PB3PR PB2PR PB1PR PB0PR
Initial value: PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0
R/W: R
R
R
R
R
R
R
R
Rev.3.00 Mar. 12, 2008 Page 624 of 948
REJ09B0177-0300