Datasheet

Section 10 I/O Ports
Page 552 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.2.5 Pin Functions
Port 2 pins also function as the pins for PPG outputs, TPU I/Os, interrupt inputs (H8S/2456 group,
H8S/2456R group), 8-bit timer I/Os (H8S/2454 group), I
2
C I/Os, USB I/Os, and bus control signal
inputs. The correspondence between the register specification and the pin functions is shown
below.
(1) Pin Functions of H8S/2456 Group and H8S/2456R Group
P27/PO7/TIOCB5/IRQ15-B/SCL2
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 of PPG, bit ICE in ICCRA_2 of I
2
C, bit
P27DDR, and bit ITS15 in ITSR of the interrupt controller.
ICE 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 SCL2 I/O
*
3
TIOCB5 output
TIOCB5 input
*
1
Pin function
IRQ15-B interrupt input
*
2
Notes: 1. TIOCB5 input when MD3 to MD0 = B'0000 or B'01xx and IOB3 = 1.
2. IRQ15-B input when the ITS15 bit in ITSR is 1.
3. NMOS open-drain output regardless of P27ODR.