Could you mention what sleep mode does each case use? #2767
-
STM literature mentions the following cases: But the LowPower Library has:
How do these cases tie up to the official STM cases? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The STM32LowPower API were developped based on https://github.com/arduino-libraries/ArduinoLowPower API. You could check the code to find for the series you used the STM32 LP mode called. https://github.com/stm32duino/STM32LowPower/blob/main/src/STM32LowPower.cpp |
Beta Was this translation helpful? Give feedback.
-
OK, so according to my research, the following modes are used: |
Beta Was this translation helpful? Give feedback.
OK, so according to my research, the following modes are used:
.idle(); //same as HAL SLEEP
.sleep(); //same as HAL SLEEP
.deepSleep(); //uses HAL STOP2
.shutdown(); //uses HAL SHUTDOWN