Datasheet

66
ATtiny828 [DATASHEET]
8371A–AVR–08/12
Table 21. Alternative Functions of Port A
Note: 1. Configure port pin as input with the internal pull-up switched off to avoid the digital port function from inter-
fering with the function of the analog comparator.
Table 22, below, summarises the override signals used by the alternative functions of the port. For an illustration on how
signals are used, see Figure 25 on page 64.
Pin Function Description of Alternative Function
PA0
PCINT0 Pin change interrupt source
ADC0 Input channel for analog to digital converter (ADC)
PA1
PCINT1 Pin change interrupt source
ADC1 Input channel for analog to digital converter (ADC)
AIN0 Positive input of analog comparator
(1)
PA2
PCINT2 Pin change interrupt source
ADC2 Input channel for analog to digital converter (ADC)
AIN1 Negative input channel of analog comparator
(1)
PA3
PCINT3 Pin change interrupt source
ADC3 Input channel for analog to digital converter (ADC)
PA4
PCINT4 Pin change interrupt source
ADC4 Input channel for analog to digital converter (ADC)
PA5
PCINT5 Pin change interrupt source
ADC5 Input channel for analog to digital converter (ADC)
PA6
PCINT6 Pin change interrupt source
ADC6 Input channel for analog to digital converter (ADC)
PA7
PCINT7 Pin change interrupt source
ADC7 Input channel for analog to digital converter (ADC)