Renesas Hitachi H8S/2194 Series Hardware Manual page 302

16-bit single-chip microcomputer
Table of Contents

Advertisement

(2) Port Control Register 6 (PCR6)
7
Bit :
PCR67
Initial value :
0
R/W :
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 11.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
0
0
1
1
*
Note:
Don't care.
*
(3) Port Data Register 6 (PDR6)
7
Bit :
PDR67
Initial value :
0
R/W :
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 11.8.4, Operation.
PDR6 is an 8-bit read/write enable register. When reset, PDR6 is initialized to H'00.
6
5
PCR66
PCR65
PCR64
0
0
W
W
Description
The P6n/RPn pin functions as a P6n general I/O input pin
The P6n/RPn pin functions as a P6n general output pin
The P6n/RPn pin functions as an RPn realtime output pin
6
5
PDR66
PDR65
PDR64
0
0
R/W
R/W
4
3
PCR63
PCR62
0
0
W
W
4
3
PDR63
PDR62
0
0
R/W
R/W
R/W
Rev. 2.0, 11/00, page 275 of 1037
2
1
0
PCR61
PCR60
0
0
0
W
W
W
(Initial value)
(n = 7 to 0)
2
1
0
PDR61
PDR60
0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents