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

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
8.6.2
P5DR stores output data for port 5 pins.
Bit
7
to
3
2
1
0
8.6.3
Note:* When this pin is used as the SCL0 I/O pin, bits CKE1 and CKE0 in SCR of SCI0 and bit C/$
ICE
CKE1
C/$
CKE0
P52DDR
Pin Function
RE
P51DDR
Pin Function
P52/SCK0/SCL0
The pin function is switched as shown below according to the combination of the CKE1 and
CKE0 bits in SCR of SCI_0, the C/$ bit in SMR of SCI_0, the ICE bit in ICCR of IIC_0, and
the P52DDR bit.
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.
in SMR of SCI0 must all be cleared to 0.
SCL0 is an NMOS open-drain output, and has direct bus drive capability.
When set as the P52 output pin or SCK0 output pin, this pin is an NMOS push-pull output.
Bit Name
P52DR
P51DR
P50DR
Pin Functions
Port 5 Data Register (P5DR)
input pin
P52
0
All 1
Initial Value
0
0
0
0
output pin
P51 input pin
P52
0
1
0
R/W
R/W
R/W
R/W
0
SCK0 output
Reserved
The initial value must not be changed.
If a port 5 read is performed while P5DDR bits are
set to 1, the P5DR values are read directly,
regardless of the actual pin states. If a port 5 read
is performed while P5DDR bits are cleared to 0, the
pin states are read.
Description
pin
0
1
0
P51 output pin
SCK0 output
1
pin
1
Rev. 2.0, 08/02, page 175 of 788
input pin
SCK0
1
RxD0 input pin
1
I/O pin
SCL0
1
0
0
0

Related parts for HD6432160