Port 3; Overview; Register Configuration - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

10.4
Port 2
10.4.1

Overview

Port 2 is an 8-bit I/O port. Table 10.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), receive data input (SI1), send data output (SO1), I
SCL1), or data I/O (SDA0, SDA1). It is switched by serial mode register (SMR), serial control
register (SCR), and port control register 2 (PCR2).
Port 2 can select the MOS pull-up function.
Table 10.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)
10.4.2

Register Configuration

Table 10.9 shows the port 2 register configuration.
Table 10.9 Port 2 Register Configuration
Name
Port control register 2
Port data register 2
MOS pull-up select
register 2
Note: * Lower 16 bits of the address.
Rev. 1.0, 02/00, page 198 of 1141
Abbrev.
R/W
PCR2
W
PDR2
R/W
PUR2
R/W
2
C bus interface clock I/O (SCL0,
Alternative Function
SYNCI (Formatless serial clock input)
2
SCL0 (I
C bus interface clock I/O)
2
SDA0 (I
C bus interface data I/O)
2
SCL1 (I
C bus interface clock I/O)
2
SDA1 (I
C bus interface data I/O)
SCK1 (SCI1 clock I/O)
SO1 (SCI1 transmit data output)
SI1 (SCI1 receive data input)
Size
Initial Value
Byte
H'00
Byte
H'00
Byte
H'00
Address*
H'FFD2
H'FFC2
H'FFE2

Advertisement

Table of Contents
loading

Table of Contents