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