76
2467S–AVR–07/09
ATmega128
Note:
1. See
“Output Compare Modulator (OCM1C2)” on page 161
for details. OC1C does not exist in
ATmega103 compatibility mode.
Table 31.
Overriding Signals for Alternate Functions in PB7..PB4
Signal Name
PB7/OC2/OC1C
PB6/OC1B
PB5/OC1A
PB4/OC0
PUOE
0
0
0
0
PUOV
0
0
0
0
DDOE
0
0
0
0
DDOV
0
0
0
0
PVOE
OC2/OC1C ENABLE
OC1B ENABLE
OC1A ENABLE
OC0 ENABLE
PVOV
OC1B
OC1A
OC0B
DIEOE
0
0
0
0
DIEOV
0
0
0
0
DI
–
–
–
–
AIO
–
–
–
–
Table 32.
Overriding Signals for Alternate Functions in PB3..PB0
Signal
Name
PB3/MISO
PB2/MOSI
PB1/SCK
PB0/SS
PUOE
SPE • MSTR
SPE • MSTR
SPE • MSTR
SPE • MSTR
PUOV
PORTB3 • PUD
PORTB2 • PUD
PORTB1 • PUD
PORTB0 • PUD
DDOE
SPE • MSTR
SPE • MSTR
SPE • MSTR
SPE • MSTR
DDOV
0
0
0
0
PVOE
SPE • MSTR
SPE • MSTR
SPE • MSTR
0
PVOV
SPI SLAVE OUTPUT
SPI MSTR OUTPUT
SCK OUTPUT
0
DIEOE
0
0
0
0
DIEOV
0
0
0
0
DI
SPI MSTR INPUT
SPI SLAVE INPUT
SCK INPUT
SPI SS
AIO
–
–
–
–