English
Language : 

HD64F3687GHV Datasheet, PDF (195/566 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 9 I/O Ports
9.8 Port B
Port B is an input port also functioning as an A/D converter analog input pin. Each pin of the port
B is shown in figure 9.8.
Port B
PB7/AN7/ExtU
PB6/AN6/ExtD
PB5/AN5
PB4/AN4
PB3/AN3
PB2/AN2
PB1/AN1
PB0/AN0
Figure 9.8 Port B Pin Configuration
Port B has the following register.
• Port data register B (PDRB)
9.8.1 Port Data Register B (PDRB)
PDRB is a general input-only port data register of port B.
Initial
Bit
Bit Name Value R/W Description
7
PB7

R
The input value of each pin is read by reading this
6
PB6

R
register.
5
PB5

R
However, if a port B pin is designated as an analog input
channel by ADCSR in the A/D converter or as an external
4
PB4

R
comparison voltage input pin by LVDCR in the low-
3
PB3

R
voltage detection circuit, the corresponding bit is read
2
PB2

R
as 0.
1
PB1

R
0
PB0

R
Rev. 3.00 Sep. 10, 2007 Page 161 of 528
REJ09B0216-0300