h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 254

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.1
Port 1 is an 8-bit I/O port that also has other functions. The port 1 has the following registers.
• Port 1 data direction register (P1DDR)
• Port 1 data register (P1DR)
• Port 1 register (PORT1)
8.1.1
The individual bits of P1DDR specify input or output for the pins of port 1. P1DDR cannot be
read; if it is, an undefined value will be read.
Rev. 2.00, 03/04, page 222 of 534
Bit
7
6
5
4
3
2
1
0
Port
Port 9
Port A
Bit Name
P17DDR
P16DDR
P15DDR
P14DDR
P13DDR
P12DDR
P11DDR
P10DDR
Description
General I/O port also
functioning as external
bus control output
General I/O port also
functioning as external
address bus output,
external bus control
output, and interrupt
input
Port 1
Port 1 Data Direction Register (P1DDR)
Initial
Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
Extended Mode (EXPE = 1)
P97/φ
P96/AS
P95/RD
P94/HWR
P93/LWR
P92/CS2/RAS
P91/CS1
P90/CS0
PA3/A19/CS3
PA2/A18/UCAS
PA1/A17/LCAS/(IRQ1)
PA0/A16/(IRQ0)
Description
When a pin function is specified to a general purpose
I/O, setting this bit to 1 makes the corresponding port 1
pin an output pin, while clearing this bit to 0 makes the
pin an input pin.
Single-Chip Mode (EXPE = 0)
P97/φ
P96
P95
P94
P93
P92
P91
P90
PA3
PA2
PA1/(IRQ1)
PA0/(IRQ0)

Related parts for h8s-2172