79
7799D–AVR–11/10
ATmega8U2/16U2/32U2
12.3.3
Alternate Functions of Port D
The Port D pins with alternate functions are shown in
Table 12-9.The alternate pin configuration is as follows:
HWB/TO/INT7/CTS, Bit 7
HWB, Hardware Boot : The PD7 pin can serve as
TO, Timer/Counter0 counter source.
INT7, External Interrupt source 7: The PD7 pin can serve as an external interrupt source to the
MCU.
CTS, USART1 Transmitter Flow Control. This pin can control the transmitter in function of its
state.
INT6/RTS,Bit 6
INT6, External Interrupt source 6: The PD6 pin can serve as an external interrupt source to the
MCU.
RTS, USART1 Receiver Flow Control. This pin can control the receiver in function of its state.
XCK1/PCINT12, Bit 5
XCK1, USART1 External Clock : The data direction register DDRD5 controls whether the clock
is output (DDRD5 set) or input (DDRD5 cleared). The XCK1 pin is active only when the USART1
operates in Synchronous Mode.
PCINT12, Pin Change Interrupt source 12: The PD5 pin can serve as an external interrupt
source.
INT5, Bit 4
INT5, External Interrupt source 5: The PD4 pin can serve as an external interrupt source to the
MCU.
INT3/TXD1, Bit 3
INT3, External Interrupt source 3: The PD3 pin can serve as an external interrupt source to the
MCU.
Table 12-9.
Port D Pins Alternate Functions
Port Pin
Alternate Function
PD7
HWB/TO/INT7/CTS
PD6
INT6/RTS
PD5
XCK1/PCINT12 (USART1 External Clock Input/Output)
PD4
INT5
PD3
INT3/TXD1 (External Interrupt3 Input or USART1 Transmit Pin)
PD2
INT2/AIN1/RXD1(External Interrupt2 Input or USART1 Receive Pin)
PD1
INT1/AIN0 (External Interrupt1 Input)
PD0
INT0/OC0B (External Interrupt0 Input)