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

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.6
Port 6 is an 8-bit I/O port. Port 6 pins also function as the FRT input/output pin, enhanced A/D
conversion input pin, keyboard input pin, timer connection input/output pins, and external USB
driver/receiver input/output pin. Port 6 functions change according to the operating mode. The
port can be used as the extended data bus (lower eight bits). Port 6 has the following registers.
Rev. 3.00 Jan 25, 2006 page 232 of 872
REJ09B0286-0300
TE
P50DDR
Pin function
P50/IRQ8/TxD0
The pin function is switched as shown below according to the combination of the TE bit in
SCR of SCI_0 and the P50DDR bit.
When the IRQ8E bit in IER16 of the interrupt controller is set to 1 or the ISS8 bit in ISSR16 is
cleared to 0, this pin can be used as the IRQ8 input pin. To use this pin as the IRQ8 input pin,
clear the P50DDR bit to 0.
Port 6 data direction register (P6DDR)
Port 6 data register (P6DR)
Port 6 pull-up MOS control register (KMPCR6)
System control register 2 (SYSCR2)
Port 6
P50 input pin
0
0
P50 output pin
IRQ8 input pin
1
TxD0 output pin
1

Related parts for h8s-2158