English
Language : 

HD64F2145 Datasheet, PDF (216/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
• 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
P50DDR
Pin Function
0
P50 input pin
0
1
P50 output pin
1
—
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 (KMPCR6)
• System control register 2 (SYSCR2)
8.7.1 Port 6 Data Direction Register (P6DDR)
P6DDR specifies input or output for the pins of port 6 on a bit-by-bit basis.
Bit Bit Name Initial Value R/W Description
7
P67DDR 0
6
P66DDR 0
5
P65DDR 0
W
The corresponding port 6 pins are output ports
W
when P6DDR bits are set to 1, and input ports
when cleared to 0.
W
4
P64DDR 0
W
3
P63DDR 0
W
2
P62DDR 0
W
1
P61DDR 0
W
0
P60DDR 0
W
Rev. 2.0, 08/02, page 176 of 788