Port 8 - Renesas H8S/2100 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

7.2.8

Port 8

(1)
P86/IRQ5/SCK1/SCL1
The pin function is switched as shown below according to the combination of the C/A bit in SMR
of SCI_1, CKE0 and CKE1 bits in SCR, IIC1AS and IIC1BS bits in PTCNT1, ICE bit in ICCR of
IIC_1, and the P86DDR bit. When the ISS5 bit in ISSR is cleared to 0 and the IRQ5E bit in IER of
the interrupt controller is set to 1, this pin can be used as the IRQ5 input pin.
Module
Name
Pin Function
SCI
SCK1 input/output 1
IIC
SCL1 input/output 0
I/O port
P86 output
P86 input
(initial setting)
Note: To use this pin as SCL1 input/output, be sure that SCK1_OE is 0. To use this pin as SCL1,
the IIC1AS and IIC1BS bits in PTCNT1 must be cleared to 0. The output format for SCL1 is
NMOS output only and direct bus drive is possible. When this pin is used as the P86 output
pin or SCK1 output pin, the output format is NMOS push-pull.
(2)
P85/IRQ4/RxD1
The pin function is switched as shown below according to the state of the P85DDR bit.
Module
Name
Pin Function
SCI
RxD1 input
I/O port
P85 output
P85 input
(initial setting)
SCI
SCK1_OE
0
0
SCI
RE
1
0
0
Setting
IIC
SCL1_OE
0
1
0
0
Setting
I/O Port
P85DDR
1
0
Rev. 1.00 Apr. 28, 2008 Page 163 of 994
Section 7 I/O Ports
I/O Port
P86DDR
1
0
REJ09B0452-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2117r seriesR4f2117r

Table of Contents