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

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. Power management and sleep modes
10.1
10.2
2545T–AVR–05/11
Sleep modes
Idle mode
Sleep modes enable the application to shut down unused modules in the MCU, thereby saving
power. The AVR provides various sleep modes allowing the user to tailor the power consump-
tion to the application’s requirements.
Figure 9-1 on page 27
their distribution. The figure is helpful in selecting an appropriate sleep mode.
the different sleep modes and their wake up sources.
Table 10-1.
Notes:
To enter any of the five sleep modes, the SE bit in SMCR must be written to logic one and a
SLEEP instruction must be executed. The SM2, SM1, and SM0 bits in the SMCR Register select
which sleep mode (Idle, ADC Noise Reduction, Power-down, Power-save, or Standby) will be
activated by the SLEEP instruction. See
If an enabled interrupt occurs while the MCU is in a sleep mode, the MCU wakes up. The MCU
is then halted for four cycles in addition to the start-up time, executes the interrupt routine, and
resumes execution from the instruction following SLEEP. The contents of the Register File and
SRAM are unaltered when the device wakes up from sleep. If a reset occurs during sleep mode,
the MCU wakes up and executes from the reset vector.
When the SM2..0 bits are written to 000, the SLEEP instruction makes the MCU enter Idle
mode, stopping the CPU but allowing the SPI, USART, analog comparator, ADC, 2-wire serial
interface, timer/counters, watchdog, and the interrupt system to continue operating. This sleep
mode basically halts clk
Sleep mode
Idle
ADC noise
reduction
Power-down
Power-save
Standby
1. Only recommended with external crystal or resonator selected as clock source.
2. If Timer/Counter2 is running in asynchronous mode.
3. For INT1 and INT0, only level interrupt.
(1)
Active clock domains and wake-up sources in the different sleep modes.
Active clock domains
presents the different clock systems in the Atmel ATmega48/88/168, and
CPU
X
and clk
X
X
FLASH
X
X
X
, while allowing the other clocks to run.
Table 10-2 on page 43
Oscillators
X
X
X
X
X
X
(2)
(2)
(2)
X
X
X
X
X
(3)
(3)
(3)
(3)
ATmega48/88/168
X
X
X
X
X
for a summary.
Wake-up sources
X
X
X
(2)
X
X
Table 10-1
X
X
X
X
X
X
X
shows
X
39

Related parts for ATMEGA48V_11