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

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Note:* When an external clock is selected with bits CKS2 to CKS0 in TCR0 of TMR_0, this pin is
8.6
Port 5 is a 3-bit I/O port. Port 5 pins also function as SCI_0 I/O pins, and the IIC_0 I/O pin. P52
and SCK0 are NMOS push-pull outputs, and SCL0 is an NMOS open-drain output. Port 5 has the
following registers.
8.6.1
P5DDR specifies input or output for the pins of port 5 on a bit-by-bit basis.
Bit
7
to
3
2
1
0
Rev. 2.0, 08/02, page 174 of 788
TE
P40DDR
Pin Function
P40/TMCI0/TxD2/IrTxD
The pin function is switched as shown below according to the combination of the TE bit in
SCR of SCI_2 and the P40DDR bit.
Port 5 data direction register (P5DDR)
Port 5 data register (P5DR)
used as the TMCI0 input pin.
Bit Name
P52DDR
P51DDR
P50DDR
Port 5 Data Direction Register (P5DDR)
Port 5
All 1
0
0
0
Initial Value
input pin
P40
0
R/W
W
W
W
Reserved
The initial value must not be changed.
The corresponding port 5 pins are output ports
when P5DDR bits are set to 1, and input ports
when cleared to 0. As SCI_0 is initialized in
software standby mode, the pin states are
determined by the IIC_0 ICCR, P5DDR, and P5DR
specifications.
Description
0
TMCI0 input pin*
output pin
P40
1
TxD2/IrTxD
output pin
1

Related parts for HD6432160