Rev. 1.0, 02/00, page 234 of 1141
10.8.3
Pin Functions
This section describes the port 7 pin functions and their selection methods.
P77/PPG7/RPB to P74/PPG4/RP8: P77/PPG7/RPB to P74/PPG4/RP8 are switched as shown
below according to the PMRBn bit in PMRB and the PCR7n bit in PCR7.
PMRBn
PMR7n
PCR7n
Pin Function
Output Value
Value Returned when
PDR7n is Read
0
P7n input pin
P7n pin
0
0
1
P7n output pin
PDR7n
PDR7n
0
P7n pin
0
1
1
PPGn output pin
PPGn
PDR7n
0
Hi-Z
*
1
*
1
RPm output pin
PDRS7n
*
PDR7n
(n = 7 to 4, m = B, A, 9, 8)
Notes:
*
Don’t care
1. When PMRBn = 1 (realtime output pin), the state indicated is that after the PCR7n set
value has been transferred to PCRS7n by trigger input.
Hi-Z: High impedance
P73/PPG to P70/PPG0: P73/PPG to P70/PPG0 are switched as shown below according to the
PMR7n bit in PMR7 and the PCR7n bit in PCR7.
PMR7n
PCR7n
Pin Function
Output Value
Value Returned when PDR7n
is Read
0
P7n input pin
P7n pin
0
1
P7n output pin
PDR7n
PDR7n
0
P7n pin
1
1
PPGn output pin
PPGn
PDR7n
(n = 3 to 0)