18.3.1.1 Operation

All power-saving modes are controlled by sub-systems: XDS/DS Controller, CRU, PMU Controller and Wireless Subsystem. To enter into the different low power modes, the software performs the following actions:
  • Disabling all interrupts
  • Setting up the DSCON.DSEN, OSCCON.SLPEN, OSCCON.DRMEN and Wireless Subsystem Sleep mode control bits
  • Set the Wireless Subsystem into the Low Power mode
  • Enable the appropriate wake-up events
  • Checking for any pending interrupts and, if present, abort Deep Sleep mode and service the interrupt
  • If no pending interrupts, issue a SLEEP/WFI command from the CPU to get into the appropriate Low Power mode

The Low-Power modes entry and exit commands and wake-up resources are shown in the following table.

Table 18-2. Low-Power Saving Modes Entry and Exit Commands and Wake-up Resources
Device Power ModesEntry CommandsWake-up Resources
Run
IdleWFI Instruction + ~OSCCON.SLPENIRQ, Reset, Others(1)
DreamOSCCON.DREAM + Event + Standby Sleep modeIRQ, Reset, Others
Standby Sleep~DSCON.DSEN+OSCCON.SLPEN +Wireless Sleep followed by WFI IRQ, Reset, Others
Deep SleepDSCON.DSEN + {RTCC (Enabled) or DSWDT (Enabled)} + Wireless Sleep followed by WFIINT0, RTCC, DSWDT, Reset
Extreme Deep SleepDSCON.DSEN + {RTCC (Disabled) and DSWDT (Disabled) and INT0 (Enabled)} + Wireless Sleep followed by WFIINT0, Reset
Note:
  1. Others = System Wake-up (Dream), WDT (Timeout Event), DMT (Timeout Event), PLVD Event, PMU Event, External NMI/INT, DSU/ICD Debug Event, CPU Debug Event.