Renesas Hitachi H8S/2194 Series Hardware Manual page 276

16-bit single-chip microcomputer
Table of Contents

Advertisement

Bit 5: P25/SI2 Pin Switching (PMR25)
PMR26 sets whether the P25/SI2 pin as a P25 I/O pin or an SI2 pin for the SCI2 receive data
input.
Bit 5
PMR25
Description
0
The P25/SI2 pin functions as a P25 I/O pin
1
The P25/SI2 pin functions as an SI2 input pin
Bits 4 to 1: Reserved Bits
When the bits are read, 1 is always read. The write operation is invalid.
Bit 0: P26/SO2 Pin PMOS Control (PMR20)
PMR20 controls the PMOS ON and OFF of the P26/SO2 pin output buffer.
Bit 0
PMR20
Description
0
The P26/SO2 pin functions as CMOS output
1
The P26/SO2 pin functions as NMOS open drain output
(2) Port Control Register 2 (PCR2)
7
Bit :
PCR27
Initial value :
0
R/W :
W
Port control register 2 (PCR2) controls the I/Os of pins P27 to P20 of port 2 in a unit of bit.
When PCR2 is set to 1, the corresponding P27 to P20 pins become output pins, and when it is set
to 0, they become input pins. When the relevant pin is set to a general I/O by PMR1, settings of
PCR2 and PDR2 are valid.
PCR2 is an 8-bit write-only register. When PCR2 is read, 1 is read. When reset, PCR2 is
initialized to H'00.
Bit n
PCR2n
Description
0
The P2n pin functions as an input pin
1
The P2n pin functions as an output pin
6
5
PCR26
PCR25
PCR24
0
0
W
W
4
3
2
PCR23
PCR22
0
0
0
W
W
W
Rev. 2.0, 11/00, page 249 of 1037
(Initial value)
(Initial value)
1
0
PCR21
PCR20
0
0
W
W
(Initial value)
(n = 7 to 0)

Advertisement

Table of Contents
loading

Table of Contents