ATTINY26-16PI Atmel, ATTINY26-16PI Datasheet - Page 91

IC AVR MCU 2K 16MHZ IND 20-DIP

ATTINY26-16PI

Manufacturer Part Number
ATTINY26-16PI
Description
IC AVR MCU 2K 16MHZ IND 20-DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY26-16PI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Analog
Comparator
Analog Comparator
Control and Status
Register – ACSR
1477K–AVR–08/10
The Analog Comparator compares the input values on the positive pin PA6 (AIN0) and negative
pin PA7 (AIN1). When the voltage on the positive pin PA6 (AIN0) is higher than the voltage on
the negative pin PA7 (AIN1), the Analog Comparator Output, ACO is set (one). The compara-
tor’s output 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 the Figure 50.
Figure 50. Analog Comparator Block Diagram
• Bit 7 – ACD: Analog Comparator Disable
When this bit is set(one), the power to the Analog Comparator is switched off. This bit can be set
at any time to turn off the Analog Comparator. When changing the ACD bit, the Analog Compar-
ator Interrupt must be disabled by clearing the ACIE bit in ACSR. Otherwise an interrupt can
occur when the bit is changed.
• Bit 6 – ACBG: Analog Comparator Bandgap Select
When this bit is set (one), it selects internal bandgap reference voltage (1.18V) as the positive
comparator input.
• Bit 5 – ACO: Analog Comparator Output
ACO is directly connected to the comparator output.
Bit
$08 ($28)
Read/Write
Initial Value
(AIN0)
(AIN1)
PA6
PA7
ACD
R/W
MULTIPLEXER OUTPUT
7
0
ADC
ACBG
R/W
6
0
MUX
MUX
MUX
ACBG
ACME
ACO
R
5
X
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
ACSR
91

Related parts for ATTINY26-16PI