Pin Functions; Pin States - Renesas H8 Series Hardware Manual

8-bit single-chip microcomputer
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

Section 8 I/O Ports
Port Data Register B (PDRB)
Bit
PB
Read/Write
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
Pin Functions and Selection Method
PB
/AN
Always as below.
n
n
Pin function
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
Reset
PB
/AN
High-
n
n
impedance
Rev. 6.00 Sep 12, 2006 page 202 of 526
REJ09B0326-0600
7
6
5
PB
PB
7
6
R
R
Sleep
Subsleep
High-
High-
impedance
impedance
4
3
PB
PB
5
4
3
R
R
PB
input pin or AN
n
Standby
Watch
High-
High-
impedance
impedance
2
1
PB
PB
PB
2
1
R
R
(n = 7 to 0)
input pin
n
Subactive Active
High-
High-
impedance
impedance
(n = 7 to 0)
0
0
R

Advertisement

Table of Contents
loading

Table of Contents