Renesas Hitachi H8S/2194 Series Hardware Manual page 275

16-bit single-chip microcomputer
Table of Contents

Advertisement

(1) Port Mode Register 2 (PMR2)
7
Bit :
PMR27
Initial value :
0
R/W :
R/W
Port mode register 2 (PMR0) controls switching of each pin function of port 2. The switching is
specified in a unit of bit.
The switching of the P22/SCK1, P21/SO1, and P20/SI1 pin functions is controlled by SMR and
SCR. See section 23, SCI1.
PMR2 is an 8-bit read/write enable register. When reset, PMR2 is initialized to H'1E.
If the SCK1, SCK2, SI1, and SI1 input pins are set, the pin level need be set to the high or low
level regardless of the active mode and low power consumption mode. Note that the pin level
must not reach an intermediate level
Bit 7: P27/SCK2 Pin Switching (PMR27)
PMR27 sets whether the P27/SCK2 pin is used as a P27 I/O pin or an SKC2 pin for the SCI2
clock I/O.
Bit 7
PMR27
Description
0
The P27/SCK2 pin functions as a P27 I/O pin
1
The P27/SCK2 pin functions as an SCK2 I/O pin
Bit 6: P26/SO2 Pin Switching (PMR26)
PMR26 sets whether the P26/SO2 pin as a P26 I/O pin or an SO2 pin for the SCI2 send data
output.
Bit 6
PMR26
Description
0
The P26/SO2 pin functions as a P26 I/O pin
1
The P26/SO2 pin functions as an SO2 input pin
Rev. 2.0, 11/00, page 248 of 1037
6
5
PMR26
PMR25
0
0
R/W
R/W
4
3
2
1
1
1
1
0
PMR20
1
0
R/W
(Initial value)
(Initial value)

Advertisement

Table of Contents
loading

Table of Contents