2.2 Standby Mode with Interrupt-Based Implementation
Standby mode addresses the fundamental inefficiency of the Active mode design by halting the CPU and stopping all clocks except those explicitly configured to run. Only peripherals with the Run in Standby (RUNSTDBY) bit enabled continue operating. In a Standby with Interrupt implementation, the system sleeps between events. When a configured peripheral generates an interrupt, the CPU wakes from Standby, executes the required operations, processes the data, and returns to Standby.
This approach eliminates the power wasted during idle periods in the Active mode design, significantly reducing average current consumption compared to continuous Active mode operation. However, Standby with Interrupts still requires the CPU to wake and execute code for every peripheral event. The processor must power up, restart clocks, run the processing routine, and return to sleep even when the result requires no action. For applications with frequent sampling but infrequent actionable conditions, this limitation presents an opportunity for further optimization.
