h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 242

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
8.7
Port 6 is an 8-bit I/O port. Port 6 pins also function as the FRT I/O pins, TMR_X I/O pins, the
TMR_Y input pin, timer connection I/O pins, key-sense interrupt input pins, expansion A/D
converter input pins, and external interrupt input pins. The port 6 input level can be switched in
four stages. Port 6 pin functions are the same in all operating modes. For details on the system
control register 2 (SYSCR2), refer to section 18, Host Interface X-Bus Interface (XBS). Port 6 has
the following registers.
Rev. 3.00 Mar 21, 2006 page 188 of 788
REJ09B0300-0300
RE
P51DDR
Pin Function
TE
P50DDR
Pin Function
P51/RxD0
The pin function is switched as shown below according to the combination of the RE bit in
SCR of SCI_0 and the P51DDR bit.
P50/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.
Port 6 data direction register (P6DDR)
Port 6 data register (P6DR)
Port 6 pull-up MOS control register (KMPCR)
System control register 2 (SYSCR2)
Port 6
P51 input pin
P50 input pin
0
0
0
0
P51 output pin
P50 output pin
1
1
TxD0 output pin
RxD0 input pin
1
1

Related parts for h8s-2161b