Datasheet

Table 18-8. Overriding Signals for Alternate Functions in PC3:PC0
(1)
Signal
Name
PC3/A11 PC2/A10 PC1/A9 PC0/A8
PUOE 0 0 0 0
PUOV 0 0 0 0
DDOE 0 0 0 0
DDOV 0 0 0 0
PVOE 0 0 0 0
PVOV 0 0 0 0
DIEOE 0 0 0 0
DIEOV 0 0 0 0
DI
AIO ADC3 INPUT ADC2 INPUT ADC1 INPUT ADC0 INPUT
Note:  1. When enabled, the Two-wire Serial Interface enables slew-rate controls on the output pins PC4
and PC5. This is not shown in the figure. In addition, spike filters are connected between the AIO outputs
shown in the port figure and the digital logic of the TWI module.
18.3.3 Alternate Functions of Port D
The Port D pins with alternate functions are shown in the table below:
Table 18-9. Port D Pins Alternate Functions
Port Pin Alternate Function
PD7 AIN1 (Analog Comparator Negative Input)
PD6 AIN0 (Analog Comparator Positive Input)
PD5 T1 (Timer/Counter 1 External Counter Input)
PD4 XCK (USART External Clock Input/Output)
T0 (Timer/Counter 0 External Counter Input)
PD3 INT1 (External Interrupt 1 Input)
PD2 INT0 (External Interrupt 0 Input)
PD1 TXD (USART Output Pin)
PD0 RXD (USART Input Pin)
The alternate pin configuration is as follows:
• AIN1 – Port D, Bit 7
AIN1, Analog Comparator Negative Input. Configure the port pin as input with the internal pull-up
switched off to avoid the digital port function from interfering with the function of the Analog Comparator.
• AIN0 – Port D, Bit 6
AVR 8-Bit Microcontroller
I/O Ports
© 2017 Microchip Technology Inc.
Datasheet Complete
40001974A-page 91