Rev. 1.0, 02/00, page 236 of 1141
Port 7 functions as follows:
1. Realtime output port function (PMRB=1)
Port function as a realtime output port when PMRB is 1. After a trigger input, the PDR7 data
is transferred to PDRS7 and PCR7 data is transferred to PCRS7. In this case, when PCRS7 is
1, the PDRS7 data of the corresponding bit is output from the RP pin. When PCRS7 is 0, the
RP pin of the corresponding bit enters high-impedance state. In other words, the realtime
output port function can instantaneously switch the pin output state (High or Low) or high-
impedance by a trigger input.
2. I/O port function (PMRB=0)
Port 7 functions as an I/O port when PMRB is 0. After data is written to PDR7, the same data
is written to PDRS7. After data is written to PCR7, the same data is written to PCRS7. Since
PDR and PDRS7, and PCR7 and PCRS7 can be used as one register, the registers can be used
as the I/O ports. In other words, if PCR7 is 1, the PDR7 data of the corresponding bit is output
from the P7 pin. If PCR is 0, the P7 pin of the corresponding bit is an input pin. If PD7 is read,
the PDR7 value is read when PCR7 is 1 and the pin value is read when PCR7 is 0.
10.8.5
Pin States
Table 10.22 shows the port 7 pin states in each operation mode.
Table 10.22 Port 6 Pin States
Pins
Reset
Active
Sleep
Standby
Watch
Subactive Subsleep
P77/PPG7/RPB
to
P74/PPG4/RP8
P73/PPG3
to
P70/PPG0
High-
impedance
Operation Holding High-
impedance
High-
impedance
Operation Holding