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

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
Section 9 I/O Ports
9.5
Port 5 is an 8-bit I/O port. Port 5 pins also function as interrupt input pins, the PWMX output pin,
SCI_0, SCI_1, and SCI_2 input/output pins. Port 5 has the following registers.
9.5.1
The individual bits of P5DDR specify input or output for the pins of port 5.
Rev. 3.00 Jan 25, 2006 page 228 of 872
REJ09B0286-0300
Bit
7
6
5
4
3
2
1
0
MCIF
operating
mode
P40DDR
Pin function
Port 5 data direction register (P5DDR)
Port 5 data register (P5DR)
Bit Name
P57DDR
P56DDR
P55DDR
P54DDR
P53DDR
P52DDR
P51DDR
P50DDR
Port 5
Port 5 Data Direction Register (P5DDR)
MCIF disable (MMCPE in IOMCR is 0)
P40 input pin
0
0
0
0
0
0
0
0
(Single-chip mode (EXPE = 0)
Initial Value
MMCS in PTCNT0 is 0)
0
TMI0 (TMCI0/TMRI0) input pin/IRQ0 input pin
or
R/W
W
W
W
W
W
W
W
W
P40 output pin
1
If port 5 pins are specified for use as the general
I/O port, the corresponding port 5 pins are output
ports when the P5DDR bits are set to 1, and input
ports when cleared to 0.
Description
MCIF enable (MMCPE in IOMCR is 1)
Extended mode (EXPE = 1)
MMCS in PTCNT0 is 1
ExMCCLK output pin
or

Related parts for h8s-2158