I tried to use STM32LowPower library to minimize the power consumption of my STM32L476-based application. Despite sleep mode, in the deep sleep mode, the timing-related commands (for example millis()) didn't work properly.
As I understand from the library, the following options exist:
Code: Select all
IDLE_MODE
SLEEP_MODE
DEEP_SLEEP_MODE
SHUTDOWN_MODE
Is there any way to keep timing other than using millis() while using deep sleep mode?