Port 2; Overview; Register Configuration - Renesas Hitachi H8S/2194 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

11.4

Port 2

11.4.1

Overview

Port 2 is an 8-bit I/O port. Table 11.8 shows the port 2 configuration.
Port 2 consists of pins that are used both as standard I/O ports (P27 to P20) and SCI clock I/O
(SCK1, SCK2), receive data input (SI1, SI2), send data output (SO1, SO2), I
clock I/O (SCL), or data I/O (SCL). It is switched by port mode register 2 (PRM2), serial mode
register (SMR), serial control register 2 (SCR), I
register (PCR2).
Port 2 can select the MOS pull-up function.
Table 11.8 Port 2 Configuration
Port
Function
Port 2
P27 (standard I/O port)
P26 (standard I/O port)
P25 (standard I/O port)
P24 (standard I/O port)
P23 (standard I/O port)
P22 (standard I/O port)
P21 (standard I/O port)
P20 (standard I/O port)
11.4.2

Register Configuration

Table 11.9 shows the port 2 register configuration.
Table 11.9 Port 2 Register Configuration
Name
Port mode register 2
Port control register 2
Port data register 2
MOS pull-up select
register 2
Note:
Lower 16 bits of the address.
*
2
Abbrev.
R/W
PMR2
R/W
PCR2
W
PDR2
R/W
PUR2
R/W
C bus control register (ICCR), and port control
Alternative Function
SCK2 (SCI2 clock I/O)
SO2 (SCI2 transmit data output)
SI2 (SCI2 receive data input)
2
SCL (I
C bus interface clock I/O)
2
SDA (I
C bus interface data I/O)
SCK1 (SCI1 clock I/O)
SO1 (SCI1 transmit data output)
SI1 (SCI1 receive data input)
Size
Byte
Byte
Byte
Byte
Rev. 2.0, 11/00, page 247 of 1037
2
C bus interface
Initial Value
Address*
H'1E
H'FFCF
H'00
H'FFD2
H'00
H'FFC2
H'00
H'FFE2

Advertisement

Table of Contents
loading

Table of Contents