Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

8.5.3

Pin Functions

• P52/ExIRQ6/SCL0
The pin function is switched as shown below according to the combination of the SCL0AS
and SCL0BS bits in PTCNT1, ICE bit in ICCR of IIC_1, and the P52DDR bit.
When the IRQ6E bit in IER of the interrupt controller is set to 1, this pin can be used as the
ExIRQ6 interrupt input pin. IICENABLE in the following table is expressed by the following
logical expressions.
IICENABLE = 1 : ICE
IICENABLE
P52DDR
Pin function
Note: To use this pin as the SCL0 input/output pin, clear the SCL0AS and SCL0BS bits in
PTCNT1 to 0. The output format for SCL0 is NMOS output only, and direct bus drive is
possible. When this pin is used as the P52 output pin, the output format is NMOS push-pull
output.
• P51/TMOY
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of TMR_Y and the P51DDR bit.
OS3 to OS0
P51DDR
Pin function
• P50/ExEXCL
The pin function is switched as shown below according to the combination of the EXCLS bit
in PTCNT0, EXCLE bit in LPWRCR, and the P50DDR bit.
To use this pin as the ExEXCL input pin, clear the P50DDR bit to 0.
EXCLS
P50DDR
EXCLE
Pin function
P50 input pin P50 output pin P50 input pin
SCLOAS
SCLOBS
0
P52 input pin
All 0
0
P51 input pin
0
0
1
0
1
P52 output pin
ExIRQ6 input pin
1
P51 output pin
0
0
ExEXCL input pin
Rev. 3.00 Jul. 14, 2005 Page 179 of 986
Section 8 I/O Ports
1
SCL0 input/output pin
One bit is set as 1
TMOY output pin
1
1
1
0
P50 output pin
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents