ATTINY85-15ST1 Atmel, ATTINY85-15ST1 Datasheet - Page 108

MCU AVR 8K FLASH 15MHZ 8-SOIC

ATTINY85-15ST1

Manufacturer Part Number
ATTINY85-15ST1
Description
MCU AVR 8K FLASH 15MHZ 8-SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY85-15ST1

Package / Case
8-SOIC (3.9mm Width)
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 105°C
Speed
16MHz
Number Of I /o
6
Eeprom Size
512 x 8
Core Processor
AVR
Program Memory Type
FLASH
Ram Size
512 x 8
Program Memory Size
8KB (8K x 8)
Data Converters
A/D 4x10b
Oscillator Type
Internal
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Connectivity
USI
Core Size
8-Bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
17. Analog Comparator
17.1
17.2
108
ADC Control and Status Register B – ADCSRB
Analog Comparator Control and Status Register – ACSR
ATtiny25/45/85
The Analog Comparator compares the input values on the positive pin AIN0 and negative pin
AIN1. When the voltage on the positive pin AIN0 is higher than the voltage on the negative pin
AIN1, the Analog Comparator output, ACO, is set. The comparator can trigger a separate inter-
rupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on comparator
output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is shown
in
Figure 17-1. Analog Comparator Block Diagram
Notes:
• Bit 6 – ACME: Analog Comparator Multiplexer Enable
When this bit is written logic one and the ADC is switched off (ADEN in ADCSRA is zero), the
ADC multiplexer selects the negative input to the Analog Comparator. When this bit is written
logic zero, AIN1 is applied to the negative input of the Analog Comparator. For a detailed
description of this bit, see
• Bit 7 – ACD: Analog Comparator Disable
When this bit is written logic one, the power to the Analog Comparator is switched off. This bit
can be set at any time to turn off the Analog Comparator.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Figure
ADC MULTIPLEXER
1. See
2. Refer to
17-1.
REFERENCE
ACME
ADEN
BANDGAP
OUTPUT
placement.
Table 17-2 on page
ACD
R/W
(1)
BIN
R
7
0
7
0
Figure 1-1 on page 2
ACBG
ACBG
ACME
R/W
R/W
“Analog Comparator Multiplexed Input” on page
6
0
6
0
110.
ACO
N/A
IPR
R
5
R
5
0
and
Table 10-5 on page 57
R/W
ACI
4
0
R
4
0
(2)
ACIE
R/W
3
0
R
3
0
ADTS2
R/W
R
2
0
2
0
for Analog Comparator pin
ADTS1
ACIS1
R/W
R/W
1
0
1
0
110.
ADTS0
ACIS0
R/W
R/W
0
0
0
0
7598H–AVR–07/09
ADCSRB
ACSR

Related parts for ATTINY85-15ST1