English
Language : 

HD64F3642AHV Datasheet, PDF (224/551 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 8 I/O Ports
Port Data Register B (PDRB)
Bit
7
6
5
4
3
2
1
0
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
Read/Write
R
R
R
R
R
R
R
R
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.
8.10.3 Pin Functions
Table 8.27 shows the port B pin functions.
Table 8.27 Port B Pin Functions
Pin
PBn/ANn
Pin Functions and Selection Method
Always as below.
Pin function
PBn input pin or ANn input pin
(n = 7 to 0)
8.10.4 Pin States
Table 8.28 shows the port B pin states in each operating mode.
Table 8.28 Port B Pin States
Pins
PBn/ANn
Reset
Sleep
Subsleep Standby Watch
Subactive Active
High-
High-
High-
High-
High-
High-
High-
impedance impedance impedance impedance impedance impedance impedance
(n = 7 to 0)
Rev. 6.00 Sep 12, 2006 page 202 of 526
REJ09B0326-0600