Pin
Pin Functions and Selection Method
PA
/TP
/
Bit PWM2 in TMDR, bits IOA2 to IOA0 in TIOR2, bit NDER6 in NDERA, bit A21E in
6
6
TIOCA
/A
BRCR, and bit PA
2
21
A21E
16-bit timer
channel 2 settings
PA
DDR
6
NDER6
Pin function
Note: * TIOCA
16-bit timer channel 2 settings
PWM2
IOA2
IOA1
IOA0
PA
/TP
/
Bit PWM1 in TMDR, bits IOB2 to IOB0 in TIOR1, bit NDER5 in NDERA, bit A22E in
5
5
TIOCB
/A
BRCR, and bit PA
1
22
A22E
16-bit timer
channel 1 settings
PA
DDR
5
NDER5
Pin function
Note: * TIOCB
16-bit timer
channel 1 settings
IOB2
IOB1
IOB0
DDR select the pin function as follows.
6
(1) in table below
—
—
TIOCA
output
2
input when IOA2 = 1.
2
DDR select the pin function as follows.
5
(1) in table below
—
—
TIOCB
output
1
input when IOB2 = 1 and PWM1 = 0.
1
(2)
0
0
1
(2) in table below
0
1
—
0
PA
PA
6
6
input
output
input *
TIOCA
2
(2)
(1)
0
0
0
0
0
1
1
(2) in table below
0
1
—
0
PA
PA
5
5
input
output
input *
TIOCB
1
(1)
0
0
1
1
—
0
—
1
—
1
—
TP
A
6
21
output
output
(2)
(1)
1
1
—
1
—
—
—
—
—
0
—
1
—
1
—
TP
A
5
22
output
output
(2)
1
—
—
207