ATtiny861 Automotive Atmel Corporation, ATtiny861 Automotive Datasheet - Page 140

no-image

ATtiny861 Automotive

Manufacturer Part Number
ATtiny861 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny861 Automotive

Flash (kbytes)
8 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
18. AC – Analog Comparator
18.1
18.1.1
140
Register Description
ATtiny261/ATtiny461/ATtiny861
ACSRA – Analog Comparator Control and Status Register A
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 18-1. Analog Comparator Block Diagram
Notes:
• 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. This will reduce power consumption in
Active and Idle mode. When changing the ACD bit, the Analog Comparator Interrupt must be
disabled by clearing the ACIE bit in ACSRA. Otherwise an interrupt can occur when the bit is
changed.
• Bit 6 – ACBG: Analog Comparator Bandgap Select
When this bit is set an internal 1.1V reference voltage replaces the positive input to the Analog
Comparator. The selection of the internal voltage reference is done by writing the REFS2..0 bits
in ADMUX register. When this bit is cleared, AIN0, AIN1 or AIN2 depending on the ACM2..0 bits
is applied to the positive input of the analog comparator.
Bit
0x08 (0x28)
Read/Write
Initial Value
AIN0
AIN1
AIN2
1. See
2. Refer to
placement.
ADC MULTIPLEXER
ACM2..1
REFERENCE
ACME
ADEN
Table 18-2 on page
BANDGAP
OUTPUT
ACD
R/W
7
0
Figure 1-1 on page 2
MUX
(1)
ACBG
ACBG
R/W
6
0
142.
ACO
N/A
R
5
and
Table 12.3.2 on page 66
R/W
ACI
4
0
Figure
(2)
18-1.
ACIE
R/W
3
0
ACME
R/W
2
0
for Analog Comparator pin
ACIS1
R/W
1
0
ACIS0
R/W
0
0
7753F–AVR–01/11
ACSRA

Related parts for ATtiny861 Automotive