HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 216

no-image

HD6432160

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

Related parts for HD6432160