To reduce the power consumption, the MCU can be configured to operate in sleep mode. The overall power consumption is reduced in this mode by turning off the clock to the processor and memory (Flash and SRAM). This mode is used in applications where the processor does not need to be running code, but peripherals are still required to function at system clock speed. The active peripherals, i.e., the ones that are enabled in SCGC or RCGC registers are clocked at the same frequency as the system clock. The system clock has the same clock source and frequency as during the run mode. The device enters sleep mode when the processor executes Wait for Interrupt or Wait for Event instructions, or upon completing execution of an exception handler if the sleep-on-exit bit in system control register is set. The device exits the sleep mode depending upon the mechanism that caused it to enter the sleep mode. The diagram on this slide describes how the device enters the sleep mode, and exits from the sleep mode before the application code can execute.

