• P24/PO4*
1
/TIOCA4/RxD4/TMO0
The pin function is switched as shown below according to the combination of the TPU channel
4 settings (by bits MD3 to MD0 in TMDR_4, bits IOA3 to IOA0 in TIOR_4, and bits CCLR1
and CCLR0 in TCR4), bit NDER4*
OS0 in TCSRO of TMR.
RE
TPU channel 4
(1) in table below
settings
OS3 to OS0
P24DDR
1
NDER4*
Pin function
TIOCA4 output
Notes: *1 Not supported by the H8S/2366.
*2 TIOCA4 input when MD3 to MD0 = B'0000 or B'01xx and IOA3 to IOA0 = B'10xx.
TPU channel 4
settings
MD3 to MD0
IOA3 to IOA0
B'0000
B'0100
B'1xxx
CCLR1, CCLR0
Output function
x: Don't care
Note:
*3 TIOCB4 output disabled.
Rev. 2.00, 05/03, page 318 of 820
1
in NDERL, bit RE in SCI_4, bit P24DDR, and bit OS3 to
All 0
—
0
—
—
P24
input
(2)
(1)
B'0000 to B'01xx
B'0001 to
B'0011
B'0101 to
B'0111
—
—
—
Output
compare
output
0
(2) in table below
1
1
0
1
P24
PO4
1
output
output*
2
TIOCA4 input*
(2)
(1)
B'001x
B'0010
B'xx00
Other than
B'xx00
—
—
3
—
PWM*
mode 1
output
1
—
Not all 0
—
—
—
—
—
TMO0
RXD4 input
output
(1)
(2)
B'0011
Other than B'xx00
Other than
B'01
B'01
PWM mode
—
2 output