Pin Functions; Pin States - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

(2) Port Data Register 0 (PDR0)
7
Bit :
PDR07
Initial value :
R/W :
R
Port data register 0 (PDR0) reads the port states. When the corresponding bit of PMR0 is 0
(general input port), the pin state is read if PDR0 is read. When the corresponding bit of PMR0
is 1 (analog input channel), 1 is read if PDR0 is read.
PDR0 is an 8-bit read-only register. When PDR0 is reset, its values become undefined.
11.2.3

Pin Functions

This section describes the pin functions of port 0 and their selection methods.
(1) P07/AN7 to P00/AN0
P07/AN7 to P00/AN0 are switched according to the PMR0n bit of PMR0 as shown below.
PMR0n
0
1
11.2.4

Pin States

Table 11.4 shows the pin 0 states in each operation mode.
Table 11.4 Port 0 Pin States
Pins
Reset
PN7/AN7 to
High-
P00/AN0
impedance
Rev. 2.0, 11/00, page 240 of 1037
6
5
PDR06
PDR05
R
R
Pin Function
P0n input pin
ANn input pin
Active
Sleep
High-
High-
impedance
impedance
4
3
PDR04
PDR03
PDR02
R
R
Standby
Watch
High-
High-
impedance
impedance
2
1
0
PDR01
PDR00
R
R
R
(n = 7 to 0)
Subactive
Subsleep
High-
High-
impedance
impedance

Advertisement

Table of Contents
loading

Table of Contents