Register Configuration And Description - Hitachi HD6473867 Hardware Manual

H8/3867 series, h8/3867 series
Table of Contents

Advertisement

8.10 Port B
8.10.1 Overview
Port B is an 8-bit input-only port, configured as shown in figure 8-9.

8.10.2 Register Configuration and Description

Table 8-26 shows the port B register configuration.
Table 8-26 Port B Register
Name
Port data register B
Port Data Register B (PDRB)
Bit
PB
Read/Write
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.
Port B
Figure 8-9 Port B Pin Configuration
Abbrev.
PDRB
7
6
PB
PB
7
6
R
R
PB
PB
PB
PB
PB
PB
PB
PB
R/W
R
5
4
PB
PB
5
4
R
R
R
169
/AN
7
7
/AN
6
6
/AN
5
5
/AN
4
4
/AN
3
3
/AN
2
2
/AN
1
1
/AN
0
0
Address
H'FFDE
3
2
PB
PB
3
2
R
R
1
0
PB
1
0
R

Advertisement

Table of Contents
loading

Table of Contents