ATTINY13-20PJ Atmel, ATTINY13-20PJ Datasheet - Page 78

IC MCU AVR 1K 5V 20MHZ 8DIP

ATTINY13-20PJ

Manufacturer Part Number
ATTINY13-20PJ
Description
IC MCU AVR 1K 5V 20MHZ 8DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY13-20PJ

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
1KB (512 x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
Other names
ATTINY13-24PJ
ATTINY13-24PJ
13. Analog Comparator
13.1
78
Analog Comparator Multiplexed Input
ATtiny13
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 13-1. Analog Comparator Block Diagram
See
ator pin placement.
It is possible to select any of the ADC3..0 pins to replace the negative input to the Analog Com-
parator. 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), MUX1:0 in ADMUX
select the input pin to replace the negative input to the Analog Comparator, as shown in
13-1. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the Analog
Comparator.
Table 13-1.
Figure 13-1 on page
ADC MULTIPLEXER
ACME
Figure 1-1 on page
REFERENCE
0
1
1
1
1
1
ACME
ADEN
OUTPUT
BANDGAP
(1)
Analog Comparator Multiplexed Input
ACBG
ADEN
1
0
0
0
0
x
78.
2,
Table 10-5 on page
MUX1..0
00
01
10
xx
xx
11
Analog Comparator Negative Input
AIN1
AIN1
ADC0
ADC1
ADC2
ADC3
56, and
Table 13-2 on page 80
for Analog Compar-
2535J–AVR–08/10
Table

Related parts for ATTINY13-20PJ