h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 241

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
8.6.2
P5DR stores output data for port 5 pins.
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/A
Bit
7
to
3
2
1
0
ICE
CKE1
C/A
CKE0
P52DDR
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/A bit in SMR of SCI_0, the ICE bit in ICCR of IIC_0, and
the P52DDR 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
Port 5 Data Register (P5DR)
Pin Functions
input pin
P52
0
Initial Value
All 1
0
0
0
0
output pin
P52
1
0
R/W
R/W
R/W
R/W
0
output pin
SCK0
Description
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.
0
1
Rev. 3.00 Mar 21, 2006 page 187 of 788
output pin
SCK0
1
input pin
SCK0
1
Section 8 I/O Ports
REJ09B0300-0300
I/O pin
SCL0
1
0
0
0

Related parts for h8s-2161b