When the device is in Debug Interface mode, System OFF is emulated to ensure that all resources required for debugging are available during System OFF.
Resources required for debugging include the following key components:
- Debug Interface mode
- CLOCK — Clock control
- POWER — Power control
- OSCILLATORS — Oscillator control
- REGULATORS — Regulator control
- RESET — Reset control
- CPU
- Memory
Because the CPU is kept on in an emulated System OFF mode, it is recommended to add an infinite loop directly after entering System OFF. This prevents the CPU from executing code that normally should not be executed. For more information, see Debug and trace.