Datasheet
99
ATmega640/1280/1281/2560/2561
2549K–AVR–01/07
Note: 1. When enabled, the 2-wire Serial Interface enables Slew-Rate controls on the output
pins PD0 and PD1. This is not shown in this table. In addition, spike filters are con-
nected between the AIO outputs shown in the port figure and the digital logic of the
TWI module.
Alternate Functions of Port E The Port E pins with alternate functions are shown in Table 51.
Note: 1. Only for ATmega1281/2561. For ATmega640/1280/2560 these functions are
placed on MISO/MOSI pins.
• INT7/ICP3/CLKO – Port E, Bit 7
INT7, External Interrupt source 7: The PE7 pin can serve as an external interrupt
source.
ICP3, Input Capture Pin 3: The PE7 pin can act as an input capture pin for
Timer/Counter3.
Table 50. Overriding Signals for Alternate Functions in PD3:PD0
(1)
Signal Name PD3/INT3/TXD1 PD2/INT2/RXD1 PD1/INT1/SDA PD0/INT0/SCL
PUOE TXEN1RXEN1TWEN TWEN
PUOV 0 PORTD2 • PUD
PORTD1 • PUD PORTD0 • PUD
DDOE TXEN1RXEN1TWEN TWEN
DDOV 1 0 SDA_OUT SCL_OUT
PVOE TXEN10 TWEN TWEN
PVOV TXD1 0 0 0
DIEOE INT3 ENABLE INT2 ENABLE INT1 ENABLE INT0 ENABLE
DIEOV 1 1 1 1
DI INT3 INPUT INT2 INPUT/RXD1 INT1 INPUT INT0 INPUT
AIO – – SDA INPUT SCL INPUT
Table 51. Port E Pins Alternate Functions
Port Pin Alternate Function
PE7
INT7/ICP3/CLK0 (External Interrupt 7 Input, Timer/Counter3 Input Capture Trigger
or Divided System Clock)
PE6 INT6/ T3 (External Interrupt 6 Input or Timer/Counter3 Clock Input)
PE5
INT5/OC3C (External Interrupt 5 Input or Output Compare and PWM Output C for
Timer/Counter3)
PE4
INT4/OC3B (External Interrupt4 Input or Output Compare and PWM Output B for
Timer/Counter3)
PE3
AIN1/OC3A (Analog Comparator Negative Input or Output Compare and PWM
Output A for Timer/Counter3)
PE2
AIN0/XCK0 (Analog Comparator Positive Input or USART0 external clock
input/output)
PE1 PDO
(1)
/TXD0 (Programming Data Output or USART0 Transmit Pin)
PE0
PDI
(1)
/RXD0/PCINT8 (Programming Data Input, USART0 Receive Pin or Pin
Change Interrupt 8)