Datasheet

69
ATmega325/3250/645/6450
2570K–AVR–04/07
Alternate Functions of Port D The Port D pins with alternate functions are shown in Table 30.
The alternate pin configuration is as follows:
•INT0
– Port D, Bit 1
INT0, External Interrupt Source 0. The PD1 pin can serve as an external interrupt
source to the MCU.
ICP1 – Port D, Bit 0
ICP1 – Input Capture pin1: The PD0 pin can act as an Input Capture pin for
Timer/Counter1.
Table 31 relates the alternate functions of Port D to the overriding signals shown in Fig-
ure 27 on page 64.
Table 30. Port D Pins Alternate Functions
Port Pin Alternate Function
PD7 -
PD6 -
PD5 -
PD4 -
PD3 -
PD2 -
PD1 INT0
(External Interrupt0 Input)
PD0 ICP1 (Timer/Counter1 Input Capture pin)
Table 31. Overriding Signals for Alternate Functions in PD3:PD0
Signal
Name PD3 PD2 PD1/INT0 PD0/ICP1
PUOE0000
PUOV0000
DDOE 0 0 0 0
DDOV 0 0 0 0
PVOE0000
PVOV0000
PTOE––––
DIEOE 0 0 INT0 ENABLE 0
DIEOV 0 0 INT0 ENABLE 0
DI INT0 INPUT ICP1 INPUT
AIO––––