Datasheet
Section 10 I/O Ports
Page 560 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
• P25/WAIT-B/PO5-A/TIOCB4-A/TMO1-A/VBUS
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 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
TIOCB4-A
output
*
3
TIOCB4-A input*
1
*
3
Pin function
VBUS input
• Modes 3 and 7 (EXPE = 0)
WAITE ⎯
TPU channel 4
settings
(1) In table below (2) In table below
OS3 to OS1 ⎯ All 0 Not all 0
P25DDR ⎯ 0 1 1 ⎯
NDER5 ⎯ ⎯ 0 1 ⎯
P25 input P25 output PO5-A output
*
2
TMO1-A output
*
4
TIOCB4-A output
*
3
TIOCB4-A input*
1
*
3
Pin function
VBUS input
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 when WAITS is 0.