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
160
(1) in table below
TIOCB
input when IOB2 = 1 and PWM1 = 0.
1
(2)
0
0
(1) in table below
TIOCA
input when IOA2 = 1.
1
(2)
0
0
—
—
output
1
(1)
0
0
1
—
—
output
1
(1)
0
0
0
1
1
—
(2) in table below
0
1
—
0
PA
PA
5
5
input
output
TIOCB
input*
1
(2)
1
1
—
—
—
(2) in table below
0
1
—
0
PA
PA
4
4
input
output
TIOCA
input*
1
(2)
(1)
1
1
—
—
—
—
—
1
1
TP
5
output
1
1
TP
4
output