Datasheet
Section 10 I/O Ports
R01UH0309EJ0500 Rev. 5.00 Page 633 of 1408
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
10.11.6 Pin Functions
Port C pins also function as the pins for TPU I/Os and address outputs. The correspondence
between the register specification and the pin functions is shown below.
• PC7/A7/TIOCB11
The pin function is switched as shown below according to the combination of the operating
mode, bit EXPE, TPU channel 11 settings (by bits MD3 to MD0 in TMDR_11, bits IOB3 to
IOB0 in TIOR_11, and bits CCLR1 and CCLR0 in TCR_11), and bit PC7DDR.
Operating
mode
1, 2 4 3, 7 (EXPE = 1) 3, 7 (EXPE = 0)
TPU channel
11 settings
⎯ ⎯ (1) in table
below
(2) in table below
PC7DDR ⎯ 0 1 ⎯ 0 1
PC7 input PC7 output Pin function A7 output PC7 input A7 output TIOCB11
output
TIOCB11 input*
TPU channel 11
settings
(2) (1) (2) (2) (1) (2)
MD3 to MD0 B'0000 B'0010 B'0011
IOB3 to IOB0 B'0000,
B'0100,
B'1xxx
B'0001 to
B'0011,
B'0101 to
B'0111
⎯ B'xx00 Other than B'xx00
CCLR1,
CCLR0
⎯ ⎯ ⎯ ⎯ Other than
B'10
B'10
Output function ⎯ Output
compare
output
⎯ ⎯ PWM mode
2 output
⎯
[Legend]
x: Don't care
Note: * TIOCB11 input when MD3 to MD0 = B'0000 or B'01xx and IOB3 = 1.