Port 6 - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

Section 9 I/O Ports
• 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.
TE
P50DDR
Pin function
9.6

Port 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.
• Port 6 data direction register (P6DDR)
• Port 6 data register (P6DR)
• Port 6 pull-up MOS control register (KMPCR6)
• System control register 2 (SYSCR2)
Rev. 3.00 Jan 25, 2006 page 232 of 872
REJ09B0286-0300
0
0
P50 input pin
1
P50 output pin
IRQ8 input pin
1
TxD0 output pin

Advertisement

Table of Contents
loading

Table of Contents