Datasheet
Section 10 I/O Ports
Rev. 3.00 Mar 17, 2006 page 445 of 926
REJ09B0283-0300
10.2.4 Pin Functions
Port 2 pins also function as PPG outputs, TPU I/Os, interrupt inputs, and EXDMAC outputs. The
correspondence between the register specification and the pin functions is shown below.
• P27/PO7/TIOCB5/(IRQ15)/EDRAK1
The pin function is switched as shown below according to the combination of the TPU channel
5 settings (by bits MD3 to MD0 in TMDR5, bits IOB3 to IOB0 in TIOR5, and bits CCLR1
and CCLR0 in TCR5), bit NDER7 in NDERL, bit EDRAKE in EDMDR1, bit P27DDR, and
bit ITS15 in ITSR.
Modes 1, 2, 3
*
3
(EXPE = 1), 4, 5, 6, 7 (EXPE = 1)
EDRAKE 0 1
TPU channel 5
settings
(1) in table
below
(2) in table below —
P27DDR — 0 1 1 —
NDER7 — — 0 1 —
P27
input
P27
output
PO7
output
EDRAK1
output
TIOCB5
output
TIOCB5 input
*
1
Pin function
IRQ15 interrupt input
*
2
Mode 3
*
3
(EXPE = 0), 7 (EXPE = 0)
EDRAKE —
TPU channel 5
settings
(1) in table
below
(2) in table below
P27DDR — 0 1 1
NDER7 — — 0 1
P27 input P27 output PO7 outputTIOCB5 output
TIOCB5 input
*
1
Pin function
IRQ15 interrupt input
*
2
Notes: 1. TIOCB5 input when MD3 to MD0 = B'0000 or B'01xx and IOB3 = 1.
2. IRQ15 input when ITS15 = 1.
3. Only in H8S/2678R Group.