2 alternate functions of port a – Rainbow Electronics ATtiny861_V User Manual
Page 65

65
2588B–AVR–11/06
ATtiny261/461/861
12.3.2
Alternate Functions of Port A
The Port A pins with alternate function are shown in
.
The alternate pin configuration is as follows:
• Port A, Bit 7- ADC6/AIN0/PCINT7
ADC6: Analog to Digital Converter, Channel 6
.
AIN0: Analog Comparator 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.
PCINT7: Pin Change Interrupt source 8.
• Port A, Bit 6 - ADC5/AIN1/PCINT6
ADC5: Analog to Digital Converter, Channel 5.
AIN1: Analog Comparator 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.
PCINT6: Pin Change Interrupt source 6.
• Port A, Bit 5 - ADC4/AIN2/PCINT5
ADC4: Analog to Digital Converter, Channel 4.
AIN2: Analog Comparator 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.
PCINT5: Pin Change Interrupt source 5.
• Port A, Bit 4 - ADC3/ICP0/PCINT4
ADC3: Analog to Digital Converter, Channel 3.
ICP0: Timer/Counter0 Input Capture Pin.
PCINT4: Pin Change Interrupt source 4.
• Port A, Bit 3 - AREF/PCINT3
AREF: External analog reference for ADC. Pullup and output driver are disabled on PA3 when
the pin is used as an external reference or internal voltage reference with external capacitor at
the AREF pin.
Table 12-6.
Port B Pins Alternate Functions
Port Pin
Alternate Function
PA7
ADC6 / AIN0 / PCINT7
PA6
ADC5 / AIN1 / PCINT6
PA5
ADC4 / AIN2 / PCINT5
PA4
ADC3 /ICP0/ PCINT4
PA3
AREF / PCINT3
PA2
ADC2 / INT1 / USCK / SCL / PCINT2
PA1
ADC1 / DO / PCINT1
PA0
ADC0 / DI / SDA / PCINT0