Renesas Hitachi H8S/2194 Series Hardware Manual page 308

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) Port Mode Register 7 (PMR7)
Bit :
7
PMR77
Initial value :
0
R/W :
R/W
Port mode register 7 (PMR7) controls switching of each pin function of port 7. The switching is
specified in a unit of bit.
PMR7 is an 8-bit read/write enable register. When reset, PMR7 is initialized to H'00.
Bits 7 to 0: P77/PPG7 to P70/PPG0 Pin Switching (PMR77 to PMR70)
PMR77 to PMR70 set whether the P7n/PPGn pin is used as a P7n I/O pin or a PPGn pin for the
HSW timing generation circuit output.
Bit n
PMR7n
Description
0
The P7n/PPGn pin functions as a P7n I/O pin
1
The P7n/PPGn pin functions as a PPGn output pin
(2) Port Control Register 7 (PCR7)
Bit :
7
PCR77
Initial value :
0
W
R/W :
Port control register 7 (PCR7) controls the I/Os of pins P77 to P70 of port 7 in a unit of bit.
When PCR7 is set to 1, the corresponding P77 to P70 pins become output pins, and when it is set
to 0, they become input pins. When the corresponding pin is set to the general I/O by PMR7,
settings of PCR7 and PDR7 become valid.
PCR7 is an 8-bit write-only register. When PCR7 is read, 1 is read. When reset, PCR7 is
initialized to H'00.
Bit n
PCR7n
Description
0
The P7n pin functions as an input pin
1
The P7n pin functions as an output pin
6
5
PMR76
PMR75
PMR74
0
0
R/W
R/W
6
5
PCR76
PCR75
PCR74
0
0
W
W
4
3
PMR73
PMR72
0
0
R/W
R/W
R/W
4
3
PCR73
PCR72
0
0
W
W
Rev. 2.0, 11/00, page 281 of 1037
2
1
0
PMR71
PMR70
0
0
0
R/W
R/W
(Initial value)
(n = 7 to 0)
2
1
0
PCR71
PCR70
0
0
0
W
W
W
(Initial value)
(n = 7 to 0)

Advertisement

Table of Contents
loading

Table of Contents