5.1.3 Power Management
AVR and PIC32CM MCUs provide advanced low-power management features to minimize energy consumption during periods of inactivity. Both MCUs offer multiple sleep modes (such as Idle and Standby), allow the CPU to halt execution while retaining SRAM and register contents, and support wake-up from sleep via interrupts or reset events. The application determines which sleep mode to enter and when, and peripherals can be selectively enabled or disabled in certain sleep modes. These features make both MCUs suitable for battery-powered and energy-sensitive applications. Table 5-5 shows a comparison of features between AVR and PIC32CM.
| Feature | AVR® Sleep Controller (SLPCTRL) | PIC32CM Power Manager (PM) |
|---|---|---|
| Integration | Stand-alone SLPCTRL peripheral |
Integrated into the Power Manager (PM) peripheral
|
| Sleep Modes |
Idle Standby Power-Down |
Idle Standby Hibernate Backup Off |
| SleepWalking | Supported (in Standby) | Supported (in Standby, Hibernate, on GCLK clocks) |
| Power Domain Gating | Peripheral ON/OFF in Standby | Static (ON/OFF) or Dynamic in Standby/Hibernate |
| I/O State Retention | Supported | Supported |
| SRAM/Registers Retention | Supported | Supported |
| Wake-up Sources |
Interrupts Reset |
Interrupts Reset |
