h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 286

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
Table 8.18 Port 8 Pin Functions
Pin
P86/IRQ5/SCK1/
SCL1
P85/IRQ4/RxD1
P84/IRQ3/TxD1
Rev. 4.00 Jun 06, 2006 page 232 of 1004
REJ09B0301-0400
Selection Method and Pin Functions
The pin function is switched as shown below according to the combination of
bits CKE1 and CKE0 in SCR of SCI1, bit C/A in SMR of SCI1, bit ICE in ICCR
of IIC1, and bit P86DDR.
When the IRQ5E bit in IER is set to 1, this pin is used as the IRQ5 input pin.
When this pin is used as the SCL1 I/O pin, bits CKE1 and CKE0 in SCR of
SCI1 and bit C/A in SMR of SCI1 must all be cleared to 0. SCL1 is an NMOS-
only output, and has direct bus drive capability.
The pin function is switched as shown below according to the combination of
bit RE in SCR of SCI1 and bit P85DDR.
When the IRQ4E bit in IER is set to 1, this pin is used as the IRQ4 input pin.
The pin function is switched as shown below according to the combination of
bit TE in SCR of SCI1 and bit P84DDR.
When the IRQ3E bit in IER is set to 1, this pin is used as the IRQ3 input pin.
ICE
CKE1
C/A
CKE0
P86DDR
Pin function
RE
P85DDR
Pin function
TE
P84DDR
Pin function
input pin
P86
P85 input pin
P84 input pin
0
0
0
0
output pin
P86
0
1
0
0
0
output pin
SCK1
P85 output pin
P84 output pin
IRQ5 input pin
IRQ4 input pin
IRQ3 input pin
0
1
1
1
output pin
SCK1
1
input pin
SCK1
TxD1 output pin
RxD1 input pin
1
1
1
I/O pin
SCL1
1
0
0
0

Related parts for h8s-2138