ATmega640/1280/1281/2560/2561
Table 13-11. Overriding Signals for Alternate Functions in PC3:PC0
Signal
Name
PC3/A11
PC2/A10
PC1/A9
PC0/A8
PUOE
PUOV
DDOE
DDOV
PVOE
PVOV
DIEOE
DIEOV
DI
SRE • (XMM<5)
SRE • (XMM<6)
SRE • (XMM<7)
SRE • (XMM<7)
0
0
0
0
SRE • (XMM<5)
SRE • (XMM<6)
SRE • (XMM<7)
SRE • (XMM<7)
1
1
1
1
SRE • (XMM<5)
SRE • (XMM<6)
SRE • (XMM<7)
SRE • (XMM<7)
A11
0
A10
0
A9
0
A8
0
0
0
0
0
–
–
–
–
AIO
–
–
–
–
13.3.4
Alternate Functions of Port D
The Port D pins with alternate functions are shown in Table 1.
Table 1. Port D Pins Alternate Functions
Port Pin
PD7
Alternate Function
T0 (Timer/Counter0 Clock Input)
PD6
T1 (Timer/Counter1 Clock Input)
PD5
XCK1 (USART1 External Clock Input/Output)
ICP1 (Timer/Counter1 Input Capture Trigger)
PD4
PD3
INT3/TXD1 (External Interrupt3 Input or USART1 Transmit Pin)
INT2/RXD1 (External Interrupt2 Input or USART1 Receive Pin)
INT1/SDA (External Interrupt1 Input or TWI Serial DAta)
INT0/SCL (External Interrupt0 Input or TWI Serial CLock)
PD2
PD1
PD0
The alternate pin configuration is as follows:
• T0 – Port D, Bit 7
T0, Timer/Counter0 counter source.
• T1 – Port D, Bit 6
T1, Timer/Counter1 counter source.
• XCK1 – Port D, Bit 5
XCK1, USART1 External clock. The Data Direction Register (DDD5) controls whether the clock
is output (DDD5 set) or input (DDD5 cleared). The XCK1 pin is active only when the USART1
operates in Synchronous mode.
• ICP1 – Port D, Bit 4
ICP1 – Input Capture Pin 1: The PD4 pin can act as an input capture pin for Timer/Counter1.
83
2549L–AVR–08/07