ATTINY861A-SU Atmel, ATTINY861A-SU Datasheet - Page 135

no-image

ATTINY861A-SU

Manufacturer Part Number
ATTINY861A-SU
Description
IC, MCU, 8BIT, 8K FLASH, 20SOIC
Manufacturer
Atmel
Datasheet

Specifications of ATTINY861A-SU

Controller Family/series
ATtiny
No. Of I/o's
16
Eeprom Memory Size
512Byte
Ram Memory Size
512Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Core Size
8bit
Program Memory Size
8KB
Oscillator Type
External, Internal
Rohs Compliant
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861A-SUR
Manufacturer:
Atmel
Quantity:
950
14. AC – Analog Comparator
14.1
8197B–AVR–01/10
Analog Comparator Multiplexed Input
The analog comparator compares the input values on the selectable positive pin (AIN0, AIN1 or
AIN2) and selectable negative pin (AIN0, AIN1 or AIN2). When the voltage on the positive pin is
higher than the voltage on the negative pin, the Analog Comparator Output, ACO, is set. The
comparator can trigger a separate interrupt, exclusive to the analog comparator. The user can
select Interrupt triggering on comparator output rise, fall or toggle. A block diagram of the com-
parator and its surrounding logic is shown in
Figure 14-1. Analog Comparator Block Diagram
Notes:
See
When the Analog to Digital Converter (ADC) is configurated as single ended input channel, it is
possible to select any of the ADC10:0 pins to replace the negative input to the analog compara-
tor. The ADC multiplexer is used to select this input, and consequently, the ADC must be
switched off to utilize this feature. If the Analog Comparator Multiplexer Enable bit (ACME in
ADCSRB) is set and the ADC is switched off (ADEN in ADCSRA is zero), MUX5:0 in ADMUX
select the input pin to replace the negative input to the analog comparator, as shown in
14-1. If ACME is cleared or ADEN is set, either AIN0, AIN1 or AIN2 is applied to the negative
input to the analog comparator.
Table 14-1.
AIN0
AIN1
AIN2
ACME
Figure 1-1 on page 2
0
0
0
0
ADC MULTIPLEXER
1. See
ACM2..1
REFERENCE
ACME
ADEN
BANDGAP
OUTPUT
Analog Comparator Multiplexed Input
Table 14-1 on page
ADEN
MUX
(1)
x
x
x
x
ACBG
and
MUX5:0
Table 10-3 on page 61
xxxxxx
xxxxxx
xxxxxx
xxxxxx
135.
Figure
ACM2:0
000
001
010
011
14-1.
for Analog Comparator pin placement.
Positive Input
AIN0
AIN0
AIN1
AIN1
Negative Input
AIN1
AIN2
AIN0
AIN2
Table
135

Related parts for ATTINY861A-SU