ATmega1284RZAP Atmel Corporation, ATmega1284RZAP Datasheet - Page 237

no-image

ATmega1284RZAP

Manufacturer Part Number
ATmega1284RZAP
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega1284RZAP

Flash (kbytes)
128 Kbytes
Max. Operating Frequency
20 MHz
Max I/o Pins
32
Spi
3
Twi (i2c)
1
Uart
2
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Crypto Engine
No
Sram (kbytes)
16
Eeprom (bytes)
4096
Operating Voltage (vcc)
1.8 to 3.6
Timers
3
Frequency Band
2.4 GHz
Max Data Rate (mb/s)
0.25
Antenna Diversity
No
External Pa Control
No
Power Output (dbm)
3
Receiver Sensitivity (dbm)
-101
Receive Current Consumption (ma)
16.0
Transmit Current Consumption (ma)
17.0
Link Budget (dbm)
104
20. AC - Analog Comparator
20.1
20.2
8059D–AVR–11/09
Overview
Analog Comparator Multiplexed Input
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’s output can be set to trigger
the Timer/Counter1 Input Capture function. In addition, the comparator can trigger a separate
interrupt, exclusive to the Analog Comparator. The user can select Interrupt triggering on com-
parator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is
shown in
The Power Reduction ADC bit, PRADC, in
must be disabled by writing a logical zero to be able to use the ADC input MUX.
Figure 20-1. Analog Comparator Block Diagram
Notes:
It is possible to select any of the ADC7..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), MUX2..0 in ADMUX
select the input pin to replace the negative input to the Analog Comparator, as shown in
20-1 on page
Analog Comparator.
Table 20-1.
ACME
0
1
1
ADC MULTIPLEXER
1. See
2. Refer to
Figure
REFERENCE
ACME
ADEN
BANDGAP
OUTPUT
placement.
237. If ACME is cleared or ADEN is set, AIN1 is applied to the negative input to the
Analog Comparator Mulitiplexed Input
Table 20-1 on page
(1)
20-1.
ACBG
Figure 1-1 on page 2
ADEN
1
0
x
237.
MUX2..0
000
xxx
xxx
and
”PRR0 – Power Reduction Register 0” on page 46
Table 12-5 on page 79
Analog Comparator Negative Input
AIN1
AIN1
ADC0
(2)
ATmega1284P
for Analog Comparator pin
Table
237

Related parts for ATmega1284RZAP