English
Language : 

HD64F38602R Datasheet, PDF (170/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 8 I/O Ports
8.5 Port B
Port B is an input-only port also functioning as an interrupt input pin, analog input pin, and
comparator pin. Figure 8.5 shows its pin configuration.
PB5/AN5/COMP1
PB4/AN4/COMP0
PB3/AN3
PB2/AN2
PB1/AN1/IRQ1
PB0/AN0/IRQ0
Figure 8.5 Port B Pin Configuration
Port B has the following registers.
• Port data register B (PDRB)
• Port mode register B (PMRB)
8.5.1 Port Data Register B (PDRB)
PDRB is a register that stores data of port B.
Initial
Bit
Bit Name Value
R/W Description
7, 6


 Reserved
The read value is undefined. These bits cannot be
modified.
5
PB5
Undefined R
Reading PDRB always gives the pin states. However, if
4
PB4
Undefined R
a port B pin is selected as an analog input channel by
the CH3 to CH0 bits in AMR of the A/D converter, that
3
PB3
Undefined R
pin is read as 0 regardless of the input voltage.
2
PB2
Undefined R
1
PB1
Undefined R
0
PB0
Undefined R
Rev. 3.00 May 15, 2007 Page 138 of 516
REJ09B0152-0300