8.9.2
Register Configuration and Description
Table 8.23 shows the port B register configuration.
Table 8.23 Port B Register
Name
Port data register B
Port Data Register B (PDRB)
Reading PDRB always gives the pin states. However, if a port B pin is selected as an analog input
channel for the A/D converter by AMR bits CH3 to CH0, that pin reads 0 regardless of the input
voltage.
H8/3857 Group
Bit
PB
Read/Write
H8/3854 Group
Bit
PB
Read/Write
In the H8/3854 Group, bits 3 to 0 are reserved.
Abbr.
PDRB
7
6
5
PB
PB
7
6
R
R
R
7
6
5
PB
PB
7
6
R
R
R
R/W
R
4
3
PB
PB
5
4
3
R
R
4
3
⎯
PB
5
4
⎯
R
Rev.3.00 Jul. 19, 2007 page 207 of 532
8. I/O Ports
Address
H'FFDE
2
1
PB
PB
2
1
R
R
2
1
⎯
⎯
⎯
⎯
REJ09B0397-0300
0
PB
0
R
0
⎯
⎯