Rainbow Electronics ATtiny861_V User Manual

Page 66

Advertising
background image

66

2588B–AVR–11/06

ATtiny261/461/861

PCINT3: Pin Change Interrupt source 3.

• Port A, Bit 2 - ADC2/INT1/USCK/SCL/PCINT2

ADC2: Analog to Digital Converter, Channel 2.

INT1: The PA2 pin can serve as an External Interrupt source 1.

USCK: Three-wire mode Universal Serial Interface Clock.

SCL: Two-wire mode Serial Clock for USI Two-wire mode.

PCINT2: Pin Change Interrupt source 2.

• Port A, Bit 1 - ADC1/DO/PCINT1

ADC1: Analog to Digital Converter, Channel 1.

DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output over-
rides PORTA1 value and it is driven to the port when data direction bit DDA1 is set. PORTA1 still
enables the pull-up, if the direction is input and PORTA1 is set.

PCINT1: Pin Change Interrupt source 1.

• Port A, Bit 0 - ADC0/DI/SDA/PCINT0

ADC0: Analog to Digital Converter, Channel 0.

DI: Data Input in USI Three-wire mode. USI Three-wire mode does not override normal port
functions, so pin must be configure as an input for DI function.

SDA: Two-wire mode Serial Interface Data.

PCINT0: Pin Change Interrupt source 0.

Table 12-7

and

Table 12-8

relate the alternate functions of Port A to the overriding signals

shown in

Figure 12-5 on page 59

.

Table 12-7.

Overriding Signals for Alternate Functions in PA7..PA4

Signal
Name

PA7/ADC6/AIN0/

PCINT7

PA6/ADC5/AIN1/

PCINT6

PA5/ADC4/AIN2/

PCINT5

PA4/ADC3/ICP0/

PCINT4

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

PTOE

0

0

0

0

DIEOE

PCINT7 • PCIE +
ADC6D

PCINT6 • PCIE +
ADC5D

PCINT5 • PCIE +
ADC4D

PCINT4 • PCIE +
ADC3D

DIEOV

ADC6D

ADC5D

ADC4D

ADC3D

DI

PCINT7

PCINT6

PCINT5

ICP0/PCINT4

AIO

ADC6, AIN0

ADC5, AIN1

ADC4, AIN2

ADC3

Advertising