13.3.3.1 Sleep Modes

Three different sleep modes can be enabled to reduce power consumption.

Idle
The CPU stops executing code, resulting in reduced power consumption.
All peripherals are running, and all interrupt sources can wake the device.
Standby
All high-frequency clocks are stopped unless running in Standby sleep mode is enabled for a peripheral or clock. This is enabled by writing the corresponding RUNSTDBY bit to ‘1’. The power consumption is dependent on the enabled functionality.
A subset of interrupt sources can wake the device(1).
Power-Down
All high-frequency clocks are stopped, resulting in a power consumption lower than the Idle sleep mode.
When operating at temperatures above 70°C, the power consumption can be reduced further by writing the High-Temperature Low Leakage Enable (HTLLEN) bit in the Voltage Regulator Control (SLPCTRL.VREGCTRL) register to ‘1’.
A subset of the peripherals are running, and a subset of interrupt sources can wake the device.(1)
Important: The TWI address match and CCL wake-up sources must be disabled when High-Temperature Low Leakage Enable is activated to avoid unpredictable behavior.
Note:
  1. Refer to the Sleep Mode Activity tables for further information.

Refer to the Wake-up Time section for information on how the wake-up time is affected by the different sleep modes.

Table 13-2. Sleep Mode Activity Overview for Peripherals
ClockPeripheralActive in Sleep Mode
IdleStandby

Power-Down
VREGCTRL.HTLLEN=0

Power-Down
VREGCTRL.HTLLEN=1

CLK_CPUCPU
CLK_RTCRTCXX(1,2)X(2)X(2)
CLK_WDTWDTXXXX
CLK_BOD(3)BODXXXX
(4)CCLXX(1)
CLK_PEREVSYSXXXX
ACnXX(1)
ADCn
TCAn
TCBn
All other peripheralsX
Note:
  1. RUNSTDBY bit of the corresponding peripheral must be set to enter an active state.
  2. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY to be set to enter an active state. In Power-Down sleep mode, only the PIT functionality is available.
  3. CLK_BOD is required only when the BOD is running in Sampled mode.
  4. The clock domain depends on the clock source selected for CCL.
Table 13-3. Sleep Mode Activity Overview for Clock Sources
Clock SourceActive in Sleep Mode
IdleStandby

Power-Down
VREGCTRL.HTLLEN=0

Power-Down
VREGCTRL.HTLLEN=1

Main clock sourceXX(1)
RTC clock sourceXX(1,2)X(2)X(2)
WDT oscillatorXXXX
BOD oscillator(3)XXXX
CCL clock sourceXX(1)
USB clock sourceX
Note:
  1. RUNSTDBY bit of the corresponding peripheral must be set to enter an active state.
  2. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY to be set to enter an active state. In Power-Down sleep mode, only the PIT functionality is available.
  3. CLK_BOD is required only when the BOD is running in Sampled mode.
Table 13-4. Sleep Mode Wake-Up Sources
Wake-Up SourceActive in Sleep Mode
IdleStandby

Power-Down
VREGCTRL.HTLLEN=0

Power-Down
VREGCTRL.HTLLEN=1

PORT Pin interruptXX(1)X(1)X(1)
BOD VLM interruptXXXX
RTC interruptsXX(2,4)X(4)X(4)
Periodic InterruptXXX(4,5)
TWI Address Match interruptXXX(5)
CCL interruptsXX(2)X(3)X(3)
USART Start-of-Frame interruptXX
TCA0 interrupts
TCB0 interrupts
ADC0 window
AC0 Compare interrupt
USB Resume interrupt
All other interruptsX
Note:
  1. The I/O pin has to be configured according to Asynchronous Sensing Pin Properties in the PORT section.
  2. RUNSTDBY bit of the corresponding peripheral must be set to enter an active state.
  3. CCL can wake up the device if the path through LUTn is asynchronous (FILTSEL=0x0 and EDGEDET=0x0 in the LUT n Control A (CCL.LUTnCTRLA) register).
  4. In Standby sleep mode, only the RTC functionality requires the RUNSTDBY to be set to enter an active state. In Power-Down sleep mode, only the PIT functionality is available.
  5. Not available when High-Temperature Low Leakage is enabled (i.e., HTLLEN = ‘1’ in SLPCTRL.VREGCTRL).