A000047 Arduino, A000047 Datasheet - Page 272

MCU, MPU & DSP Development Tools Mega2560

A000047

Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Datasheets

Specifications of A000047

Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
24.2
24.2.1
24.2.2
2549M–AVR–09/10
Register Description
ADCSRB – ADC Control and Status Register B
ACSR – Analog Comparator Control and Status Register
Table 24-1.
• Bit 6 – 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
description of this bit, see
• 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 ACSR. Otherwise an interrupt can occur when the bit is
changed.
Bit
(0x7B)
Read/Write
Initial Value
Bit
0x30 (0x50)
Read/Write
Initial Value
ACME
1
1
1
1
1
1
1
1
1
1
1
1
Analog Comparator Mulitiplexed Input
ADEN
ACD
R/W
R
7
0
7
0
0
0
0
0
0
0
0
0
0
0
0
0
ACBG
ACME
R/W
R/W
6
0
6
0
“Analog Comparator Multiplexed Input” on page
MUX5
0
0
0
0
1
1
1
1
1
1
1
1
ACO
N/A
R
ATmega640/1280/1281/2560/2561
5
R
5
0
MUX2:0
R/W
ACI
100
101
110
111
000
001
010
011
100
101
110
111
4
0
R
4
0
ACIE
MUX5
R/W
R/W
3
0
3
0
ADC4
ADC5
ADC6
ADC7
ADC8
ADC9
ADC10
ADC11
ADC12
ADC13
ADC14
ADC15
ADTS2
ACIC
Analog Comparator Negative Input
R/W
R/W
2
0
2
0
ACIS1
ADTS1
R/W
R/W
1
0
1
0
ACIS0
ADTS0
R/W
R/W
0
0
0
0
271.
ADCSRB
ACSR
272

Related parts for A000047