Datasheet
Section 10 I/O Ports
R01UH0310EJ0500 Rev. 5.00 Page 561 of 1384
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 Group
• P25/WAIT-B/PO5-A/TIOCB4-A/TMO1-A
The pin function is switched as shown below according to the combination of the operating
mode, bit EXPE, bit WAITE in BCR of the bus controller, TPU channel 4 settings (by bits
MD3 to MD0 in TMDR_4, bits IOB3 to IOB0 in TIOR_4, and bits CCLR1 and CCLR0 in
TCR_4), bits OS3 to OS0 in TCSR_1 of the 8-bit timer, bit NDER5 in NDERL of the PPG,
bits PPGS, TPUS, and TMRS in PFCR3, bit WAITS in PFCR4, and bit P25DDR.
• Modes 1, 2, and 4 Modes 3 and 7 (EXPE = 1)
WAITE 0 1
TPU channel 4
settings
(1) in table
below
(2) in table below ⎯
OS3 to OS0 ⎯ All 0 Not all 0 ⎯
P25DDR ⎯ 0 1 1 ⎯ ⎯
NDER5 ⎯ ⎯ 0 1 ⎯ ⎯
P25 input P25 output PO5-A
output*
2
TMO1-A
output*
4
WAIT-B
input*
5
Pin function TIOCB4-A
output*
3
TIOCB4-A input*
1
*
3
• Modes 3 and 7 (EXPE = 0)
WAITE ⎯
TPU channel 4
settings
(1) in table
below
(2) in table below
OS3 to OS0 ⎯ All 0 Not all 0
P25DDR ⎯ 0 0 1 1
NDER5 ⎯ ⎯ ⎯ 0 1
P25 input P25 output PO5-A output*
2
TIO1-A output*
4
Pin function TIOCB4-A
output*
3
TIOCB4-A input*
1
*
3
Notes: 1. TIOCB4-A input when MD3 to MD0 = B'0000 or B'01xx and IOB3 to IOB0 = B'10xx.
2. When using as PO5-A output, set PPGS in PFCR3 to 0 before other register setting.
3. When using as TIOCB4-A input/output, set TPUS in PFCR3 to 0 before other register
setting.
4. When using as TMO1-A output, set TMRS in PFCR3 to 0 before other register setting.
5. WAIT-B input when the WAITS bit in PFCR4 is 1. Not used as WAIT-B input pin when
WAITS is 0.