h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 229
h8s-2161b
Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
1.H8S-2161B.pdf
(845 pages)
- Current page: 229 of 845
- Download datasheet (5Mb)
8.3
Port 2 is an 8-bit I/O port. Port 2 pins also function as address bus output function, 8-bit PWM
output pins, and the timer connection output pin. Port 2 functions change according to the
operating mode. Port 2 has an on-chip input pull-up MOS function that can be controlled by
software. Port 2 has the following registers.
8.3.1
P2DDR specifies input or output for the pins of port 2 on a bit-by-bit basis.
Bit
7
6
5
4
3
2
1
0
Port 2 data direction register (P2DDR)
Port 2 data register (P2DR)
Port 2 pull-up MOS control register (P2PCR)
Bit Name
P27DDR
P26DDR
P25DDR
P24DDR
P23DDR
P22DDR
P21DDR
P20DDR
Port 2
Port 2 Data Direction Register (P2DDR)
Initial Value
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
Description
In Mode 1:
The corresponding port 2 pins are address
outputs, regardless of the P2DDR setting.
Modes 2 and 3 (EXPE = 1):
The corresponding port 2 pins are address
outputs or PWM outputs when P2DDR bits are
set to 1, and input ports when cleared to 0. P27 to
P24 are switched from address outputs to output
ports by setting the IOSE bit to 1.
P27 can be used as an on-chip peripheral module
output pin regardless of the P27DDR setting, but
to ensure normal access to external space, P27
should not be set as an on-chip peripheral
module output pin when port 2 pins are used as
address output pins.
Modes 2 and 3 (EXPE = 0):
The corresponding port 2 pins are output ports or
PWM outputs when P2DDR bits are set to 1, and
input ports when cleared to 0.
P27 can be used as an on-chip peripheral module
output pin regardless of the P27DDR setting.
Rev. 3.00 Mar 21, 2006 page 175 of 788
Section 8 I/O Ports
REJ09B0300-0300
Related parts for h8s-2161b
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
RENESAS MCU M16C FAMILY / M16C/Tiny SERIES
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas Starter Kit for RX210
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas StarterKit for RX630
Manufacturer:
Renesas Electronics Corporation.
Part Number:
Description:
EVALBOARD/Renesas Starter Kit+ for RX63N
Manufacturer:
Renesas Electronics Corporation.