Pin
Selection Method and Pin Functions
P23/PO3/
The pin function is switched as shown below according to the combination of the
TIOCD3/
TPU channel 3 settings (by bits MD3 to MD0 in TMDR3, bits IOD3 to IOD0 in
IRQ11
TIOR3L, and bits CCLR2 to CCLR0 in TCR3), bit NDER3 in NDERL, bit
P23DDR, and bit ITS11 in ITSR.
TPU channel 3
settings
P23DDR
NDER3
Pin function
Notes: 1. TIOCD3 input when MD3 to MD0 = B'0000 and IOD3 to IOD0 = B'10xx.
TPU channel 3
settings
MD3 to MD0
IOD3 to IOD0
CCLR2 to
CCLR0
Output function
210
(1) in table
below
—
—
TIOCD3 output
2. IRQ11 input when ITS11 = 1.
(2)
B'0001 to B'0011
B'0000
B'0001 to B'0011
B'0100
B'0101 to B'0111
B'1xxx
—
—
0
—
P23 input
IRQ11 interrupt input pin*
(1)
(2)
B'0010
—
—
—
Output compare
—
output
(2) in table below
1
0
P23 output
PO3 output
1
TIOCD3 input*
2
(2)
(1)
B'0011
B'xx00
Other than B'xx00
—
Other
than
B'110
—
PWM
mode 2
output
1
1
(2)
B'110
—
x: Don't care