Application Note
24 of 38
001-86233 Rev. *I
2021-11-04
PSoC™ 4 MCU low
-power modes and power reduction techniques
Code examples
Figure 12
Device selector window
7.3
PSoC™ 4 MCU code examples
7.3.1
Power modes code example
ModusToolbox
™ software
:
This code example is located on GitHub at
you can easily compare all sleep and deep sleep modes with active mode.
To change the power mode the device is in, press the on-board button longer than two seconds to put the
device into Deep Sleep. To switch the device into sleep mode, press the button between 200 ms and two
seconds. This allows the device to easily switch power modes so that they can be compared. See
see how to switch modes.