12.3.3.2 Wake-Up Time
- In Idle sleep mode, the main clock source is kept running to eliminate additional wake-up time
- In Standby sleep mode, the main clock might be running depending on the peripheral configuration
- In Power-Down sleep mode, only the OSC32K oscillator and the Real-Time Clock (RTC) may be running if the clock is used by the Brown-out Detector (BOD), Watchdog Timer (WDT), or Periodic Interrupt Timer (PIT). All the other clock sources will be OFF.
Sleep Mode | Start-Up Time |
---|---|
Idle | Six clock cycles |
Standby | Six clock cycles + oscillator start-up time + regulator start-up time |
Power-Down | Six clock cycles + oscillator start-up time + regulator start-up time |
The start-up time for the different clock sources is listed in the CLKCTRL - Clock Controller section. The start-up time for the regulator is included in the start-up time for the different clock sources.
In addition to the ordinary wake-up time, it is possible to make the device wait until the BOD is ready before executing the code. This is controlled by the BOD Operation in the Active and Idle Mode (ACTIVE) bit field in the BOD Configuration (FUSE.BODCFG) fuse. If the BOD is ready before the ordinary wake-up time, the total wake-up time will be the same. If the BOD takes longer than the ordinary wake-up time, the wake-up time will be extended until the BOD is ready, ensuring correct supply voltage whenever code is executed.