Rev. 1.0, 02/00, page 221 of 1141
Port Control Register 6 (PCR6)
0
0
1
0
W
2
0
W
3
0
4
0
W
0
W
5
6
0
7
PCR64
PCR63
PCR62
PCR61
PCR60
0
W
PCR67
W
W
W
PCR66
PCR65
Bit :
Initial value :
R/W :
Port control register 6 (PCR6) selects the general I/O of port 6 and controls the realtime output in
a unit of bit together with PMR6.
When PMR6 = 0, the corresponding P67 to P60 pins become general output pins if PCR6 is set to
1, and they become general input pins if it is set to 0.
When PMR6 = 1, PCR6 controls the corresponding RP7 to RP0 realtime output pins. For details,
see section 10.8.4, Operation.
PCR6 is an 8-bit write-only register. When PCR6 is read, 1 is read. When reset, PCR6 is
initialized to H'00.
PMR6
PCR6
Bit n
Bit n
PMR6n
PCR6n
Description
0
The P6n/RPn pin functions as a P6n general I/O input pin
(Initial value)
0
1
The P6n/RPn pin functions as a P6n general output pin
1
*
The P6n/RPn pin functions as an RPn realtime output pin
Note:
*
Don’t care
(n = 7 to 0)
Port Data Register 6 (PDR6)
0
0
1
0
R/W
2
0
R/W
3
0
4
0
R/W
0
R/W
5
6
0
7
PDR64
PDR63
PDR62
PDR61
PDR60
0
R/W
PDR67
R/W
R/W
R/W
PDR66
PDR65
Bit :
Initial value :
R/W :
Port data register 6 (PDR6) stores the data for the pins P67 to P60 of port 6.
For PMR6 = 0, when PCR6 is 1 (output), the PDR6 values are directly read if port 6 is read.
Accordingly, the pin states are not affected. When PCR6 is 0 (input), the pin states are read if port
6 is read.
For PMR6 = 1, port 6 becomes a realtime output pin. For details, see section 10.7.4, Operation.
PDR6 is an 8-bit read/write enable register. When reset, PDR6 is initialized to H'00.