Datasheet

95
ATmega640/1280/1281/2560/2561
2549K–AVR–01/07
Alternate Functions of Port C The Port C alternate function is as follows:
Table 46 and Table 47 relate the alternate functions of Port C to the overriding signals
shown in Figure 36 on page 89.
Table 44. 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 PCINT3 • PCIE0 PCINT2 • PCIE0 PCINT1 •
PCIE0
PCINT0 •
PCIE0
DIEOV 1 1 1 1
DI SPI MSTR INPUT
PCINT3 INPUT
SPI SLAVE INPUT
PCINT2 INPUT
SCK INPUT
PCINT1 INPUT
SPI SS
PCINT0 INPUT
AIO
Table 45. Port C Pins Alternate Functions
Port Pin Alternate Function
PC7 A15(External Memory interface address bit 15)
PC6 A14(External Memory interface address bit 14)
PC5 A13(External Memory interface address bit 13)
PC4 A12(External Memory interface address bit 12)
PC3 A11(External Memory interface address bit 11)
PC2 A10(External Memory interface address bit 10)
PC1 A9(External Memory interface address bit 9)
PC0 A8(External Memory interface address bit 8)