ATMEGA48V_11 ATMEL [ATMEL Corporation], ATMEGA48V_11 Datasheet - Page 40

no-image

ATMEGA48V_11

Manufacturer Part Number
ATMEGA48V_11
Description
8-bit Atmel Microcontroller with 4/8/16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
10.3
10.4
10.5
2545T–AVR–05/11
ADC noise reduction mode
Power-down mode
Power-save mode
Idle mode enables the MCU to wake up from external triggered interrupts as well as internal
ones like the timer overflow and USART transmit complete interrupts. If wake-up from the ana-
log comparator interrupt is not required, the analog comparator can be powered down by setting
the ACD bit in the analog comparator control and status register – ACSR. This will reduce power
consumption in Idle mode. If the ADC is enabled, a conversion starts automatically when this
mode is entered.
When the SM2..0 bits are written to 001, the SLEEP instruction makes the MCU enter ADC
Noise Reduction mode, stopping the CPU but allowing the ADC, the external interrupts, the 2-
wire Serial Interface address watch, Timer/Counter2
(if enabled). This sleep mode basically halts clk
clocks to run.
This improves the noise environment for the ADC, enabling higher resolution measurements. If
the ADC is enabled, a conversion starts automatically when this mode is entered. Apart from the
ADC Conversion Complete interrupt, only an External Reset, a Watchdog System Reset, a
Watchdog Interrupt, a Brown-out Reset, a 2-wire Serial Interface address match, a
Timer/Counter2 interrupt, an SPM/EEPROM ready interrupt, an external level interrupt on INT0
or INT1 or a pin change interrupt can wake up the MCU from ADC Noise Reduction mode.
Note:
When the SM2..0 bits are written to 010, the SLEEP instruction makes the MCU enter power-
down mode. In this mode, the external oscillator is stopped, while the external interrupts, the 2-
wire serial Interface address watch, and the Watchdog continue operating (if enabled). Only an
external reset, a watchdog system reset, a watchdog interrupt, a brown-out reset, a 2-wire serial
interface address match, an external level interrupt on INT0 or INT1, or a pin change interrupt
can wake up the MCU. This sleep mode basically halts all generated clocks, allowing operation
of asynchronous modules only.
Note that if a level triggered interrupt is used for wake-up from power-down mode, the changed
level must be held for some time to wake up the MCU. Refer to
for details.
When waking up from power-down mode, there is a delay from the wake-up condition occurs
until the wake-up becomes effective. This allows the clock to restart and become stable after
having been stopped. The wake-up period is defined by the same CKSEL fuses that define the
reset time-out period, as described in
When the SM2..0 bits are written to 011, the SLEEP instruction makes the MCU enter power-
save mode. This mode is identical to power-down, with one exception:
If Timer/Counter2 is enabled, it will keep running during sleep. The device can wake up from
either timer overflow or output compare event from Timer/Counter2 if the corresponding
Timer/Counter2 interrupt enable bits are set in TIMSK2, and the global interrupt enable bit in
SREG is set.
1. Timer/Counter2 will only keep running in asynchronous mode, see
PWM and asynchronous operation” on page 140
“Clock sources” on page
I/O
, clk
(1)
CPU
, and the Watchdog to continue operating
for details.
, and clk
ATmega48/88/168
28.
“External interrupts” on page 66
FLASH
, while allowing the other
“8-bit Timer/Counter2 with
40

Related parts for ATMEGA48V_11