• P21/PO1/TIOCB3/(,54<,
The pin function is switched as shown below according to the combination of the TPU channel
3 settings (by bits MD3 to MD0 in TMDR_3, bits IOB3 to IOB0 in TIORH_3, and bits
CCLR2 to CCLR0 in TCR_3), bit NDER1 in NDERL, bit P21DDR, and bit ITS9 in ITSR.
TPU channel 3
(1) in table
settings
P21DDR
NDER1
Pin function
TIOCB3 output
Notes: 1. TIOCB3 input when MD3 to MD0 = B'0000 and IOB3 to IOB0 = B'10xx.
2. ,54< input when ITS9 = 1.
TPU channel 3
(2)
settings
MD3 to MD0
IOB3 to IOB0
B'0000
B'0100
B'1xxx
CCLR2 to
—
CCLR0
Output function
—
x: Don't care
below
—
0
—
—
P21 input
,54< interrupt input*
(1)
B'0001 to B'0011
B'0001 to B'0011
B'0101 to B'0111
—
Output compare
output
(2) in table below
1
0
P21 output
1
TIOCB3 input*
2
(2)
(2)
B'0010
B'0011
—
B'xx00 Other than B'xx00
—
—
Other
than
B'010
—
—
PWM
mode 2
output
1
1
PO1 output
(1)
(2)
B'010
—
Rev. 1.0, 09/01, page 427 of 904