ATTINY861A-XU Atmel, ATTINY861A-XU Datasheet - Page 137

Microcontrollers (MCU) 8K Flash;125B EEPROM 128B SRAM;16 IO Pins

ATTINY861A-XU

Manufacturer Part Number
ATTINY861A-XU
Description
Microcontrollers (MCU) 8K Flash;125B EEPROM 128B SRAM;16 IO Pins
Manufacturer
Atmel
Datasheet

Specifications of ATTINY861A-XU

Core
RISC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
8 KB
Data Ram Size
512 B
Interface Type
SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
TSSOP-20
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861A-XUR
Manufacturer:
IDT
Quantity:
1 300
14.2
14.2.1
8197B–AVR–01/10
Register Description
ACSRA – Analog Comparator Control and Status Register A
• 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, thus reducing power consumption in
Active and Idle mode. When changing the ACD bit, the analog comparator Interrupt must be dis-
abled 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 ADCSRB and ADMUX registers. 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 5 – ACO: Analog Comparator Output
Enables output of analog comparator. The output of the analog comparator is synchronized and
then directly connected to ACO. The synchronization introduces a delay of 1 - 2 clock cycles.
• Bit 4 – ACI: Analog Comparator Interrupt Flag
This bit is set by hardware when a comparator output event triggers the interrupt mode defined
by ACIS1 and ACIS0. The analog comparator interrupt routine is executed if the ACIE bit is set
and the I-bit in SREG is set. ACI is cleared by hardware when executing the corresponding inter-
rupt handling vector. Alternatively, ACI is cleared by writing a logic one to the flag.
• Bit 3 – ACIE: Analog Comparator Interrupt Enable
When the ACIE bit is written logic one and the I-bit in the status register is set, the analog com-
parator interrupt is activated. When written logic zero, the interrupt is disabled.
• Bit 2 – 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 descrip-
tion of this bit, see
Bit
0x08 (0x28)
Read/Write
Initial Value
ACD
R/W
7
0
Table 14-1 on page
ACBG
R/W
6
0
ACO
N/A
R
5
135.
R/W
ACI
4
0
ACIE
R/W
3
0
ACME
R/W
2
0
ACIS1
R/W
1
0
ACIS0
R/W
0
0
ACSRA
137

Related parts for ATTINY861A-XU