Pin Functions - Hitachi H8S/2378, H8S/2378R Series Hardware Manual

16 bit single-chip microcomputer
Table of Contents

Advertisement

10.2.4

Pin Functions

Port 2 pins also function as PPG outputs, TPU I/Os, and interrupt inputs. The correspondence
between the register specification and the pin functions is shown below.
• P27/PO7/TIOCB5/(,548)
The pin function is switched as shown below according to the combination of the TPU channel
5 settings (by bits MD3 to MD0 in TMDR_5, bits IOB3 to IOB0 in TIOR_5, and bits CCLR1
and CCLR0 in TCR_5), bit NDER7 in NDERL, bit P27DDR, and bit ITS15 in ITSR.
TPU channel 5
(1) in table
settings
below
P27DDR
NDER7
Pin function
TIOCB5
output
Notes: 1. TIOCB5 input when MD3 to MD0 = B'0000 or B'01xx and IOB3 = 1.
2. ,5448 input when ITS15 = 1.
TPU channel 5
(2)
settings
MD3 to MD0
IOB3 to IOB0
B'0000
B'0100
B'1xxx
CCLR1, CCLR0
Output function
x: Don't care
0
P27
input
,548 interrupt input*
(1)
B'0000 to B'0011
B'0001 to B'0011
B'0101 to B'0111
Output compare
output
(2) in table below
1
0
P27
output
1
TIOCB5 input*
2
(2)
(2)
B'0010
B'0011
B'xx00
Other than B'xx00
Other
PWM
mode 2
output
1
1
PO7
output
(1)
(2)
B'10
than
B'10
Rev. 1.0, 09/01, page 421 of 904

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents