Pin States - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) Operation of the Realtime Output Port (PMR6 = 1)
When PMR6 is 1, it operates as a realtime output port. When a trigger is input, PMR6
transfers the PDR6 data to PDRS6 and the PCR6 data to PCRS6, respectively. In this case,
when PCRS6 is 1, the PDRS6 data of the corresponding bit is output to the RP pin. When
PCRS6 is 0, the RP pin of the corresponding bit is output to the high-impedance state. In
other words, the pin output state (High or Low) or high-impedance state can instantaneously
be switched by a trigger input.
Adversely, when PDR6 is read, the PDR6 values are read regardless of the PCR6 and PCRS6
values.
(2) Operation of the general I/O port (PMR6 = 0)
When PMR6 is 0, it operates as a general I/O port. When data is written to PDR6, the same
data is also written to PDRS6. Accordingly, because both PDR6 and PDRS6 and both PCR6
and PCRS6 can be handled as one register, respectively, they can be used in the same way as
a normal general I/O port. In other words, if PCR6 is 1, the PDR6 data of the corresponding
bit is output to the P6 pin. If PCR6 is 0, the P6 pin of the corresponding bit becomes an
input.
Adversely, assuming that PDR6 is read, the PDR6 values are read when PCR6 is 1 and the
pin values are read when PCR6 is 0.
11.8.5

Pin States

Table 11.22 shows the port 6 pin states in each operation mode.
Table 11.22 Port 6 Pin States
Pins
Reset
P67/RP7 to
High-
P60/RP0
impedance
Active
Sleep
Operation
Holding
Standby
Watch
High-
High-
impedance
impedance
Rev. 2.0, 11/00, page 279 of 1037
Subactive
Subsleep
Operation
Holding

Advertisement

Table of Contents
loading

Table of Contents