Given the proliferation of portable embedded devices, power consumption has become almost as important as execution time and memory use, and in some cases, the most important parameter to optimize in an embedded system. Most modern CPUs are designed with power consumption in mind to some degree. Many embedded processors now include features such as run-time power modes that are used to scale power consumption. One of these modes is referred to as the “idle mode”. In idle mode the instruction-executing portion of the processor effectively powers down. Other parts of the processor including the peripherals and interrupt logic remain powered on. While the processor is waiting for something to happen as opposed to the processor actively executing instructions.