h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 261

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
9.1
Port 1 is an 8-bit I/O port. Port 1 pins also function as an address bus, PWM output pins, and
CompactFlash address output pins. Port 1 functions change according to the operating mode. Port
1 has the following registers.
9.1.1
The individual bits of P1DDR specify input or output for the pins of port 1.
Bit
7
6
5
4
3
2
1
0
Port 1 data direction register (P1DDR)
Port 1 data register (P1DR)
Port 1 pull-up MOS control register (P1PCR)
Bit Name
P17DDR
P16DDR
P15DDR
P14DDR
P13DDR
P12DDR
P11DDR
P10DDR
Port 1 Data Direction Register (P1DDR)
Port 1
Initial Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
Description
In extended mode:
The corresponding port 1 pins are address output
or CompactFlash address output ports when
P1DDR bits are set to 1, and input ports when
cleared to 0.
In single-chip mode:
The corresponding port 1 pins are output ports or
PWM outputs when the P1DDR bits are set to 1,
and input ports when cleared to 0.
Rev. 3.00 Jan 25, 2006 page 209 of 872
Section 9 I/O Ports
REJ09B0286-0300

Related parts for h8s-2158