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

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
Section 8 I/O Ports
Note:
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.
Rev. 3.00 Mar 21, 2006 page 186 of 788
REJ09B0300-0300
TE
P40DDR
Pin Function
Bit
7
to
3
2
1
0
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)
* When an external clock is selected with bits CKS2 to CKS0 in TCR0 of TMR_0, this pin
Bit Name
P52DDR
P51DDR
P50DDR
Port 5
Port 5 Data Direction Register (P5DDR)
is used as the TMCI0 input pin.
Initial Value
All 1
0
0
0
input pin
P40
0
R/W
W
W
W
0
Description
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.
TMCI0 input pin *
output pin
P40
1
TxD2/IrTxD
output pin
1

Related parts for h8s-2161b