Datasheet

Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 188 of 788
REJ09B0300-0300
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.
RE 0 1
P51DDR 0 1
Pin Function P51 input pin P51 output pin RxD0 input pin
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.
TE 0 1
P50DDR 0 1
Pin Function P50 input pin P50 output pin TxD0 output pin
8.7 Port 6
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.
Port 6 data direction register (P6DDR)
Port 6 data register (P6DR)
Port 6 pull-up MOS control register (KMPCR)
System control register 2 (SYSCR2)