Datasheet

66
8246A–AVR–11/09
ATtiny2313A/4313
10.2.3 Alternate Functions of Port D
The Port D pins with alternate functions are shown in Table 10-8..
Port D, Bit 0 – RXD/PCINT11
RXD: UART Data Receiver.
PCINT11: Pin Change Interrupt Source 11. The PD0 pin can serve as an external interrupt
source for pin change interrupt 2.
Port D, Bit 1 – TXD/PCINT12
TXD: UART Data Transmitter.
PCINT12: Pin Change Interrupt Source 12. The PD1 pin can serve as an external interrupt
source for pin change interrupt 2.
Port D, Bit 2 – INT0/XCK/CKOUT/PCINT13
INT0: External Interrupt Source 0. The PD2 pin can serve as en external interrupt source to
the MCU.
XCK: USART Transfer Clock used only by Synchronous Transfer mode.
CKOUT: System Clock Output.
PCINT13: Pin Change Interrupt Source 13. The PD2 pin can serve as an external interrupt
source for pin change interrupt 2.
Port D, Bit 3 – INT1/PCINT14
INT1: External Interrupt Source 1. The PD3 pin can serve as an external interrupt source to
the MCU.
PCINT14: Pin Change Interrupt Source 14. The PD3 pin can serve as an external interrupt
source for pin change interrupt 2.
Table 10-8. Port D Pins Alternate Functions
Port Pin Alternate Function
PD0
RXD: UART Data Receiver
PCINT11:Pin Change Interrupt 2, Source 11
PD1
TXD: UART Data Transmitter
PCINT12:Pin Change Interrupt 2, Source 12
PD2
INT0: External Interrupt 0 Input
XCK: USART Transfer Clock
CKOUT: System Clock Output
PCINT13:Pin Change Interrupt 2, Source 13
PD3
INT1: External Interrupt 1 Input
PCINT14:Pin Change Interrupt 2, Source 14
PD4
T0: Timer/Counter0 Clock Source
PCINT15:Pin Change Interrupt 2, Source 15
PD5
OC0B: Timer/Counter0 Compare Match B output
T1: Timer/Counter1 Clock Source
PCINT16:Pin Change Interrupt 2, Source 16
PD6
ICPI: Timer/Counter1 Input Capture Pin
PCINT17:Pin Change Interrupt 2, Source 17