stm32duino / STM32LowPower

Arduino Low Power library for STM32
185 stars 52 forks source link

Inconsistency in README file regarding deepSleep #92

Closed daanvV closed 1 year ago

daanvV commented 1 year ago

Hello,

in the README file it says

The board will restart when exit the deepSleep or shutdown mode.

Here I interpret "restart" as "reboot" or "reset", i.e. the board starting the script again doing "setup()" again.

However a few lines down it states

deep sleep mode: medium latency (ms range), clocks are gated to reduced. Memories and voltage supplies are retained. If supported, Peripherals wake-up is possible (UART, I2C ...).

If memory is retained, then that doesn't sound like a restart/reboot to me.

I gather that the first sentence in the README file is probably false, and the second correct?

Best wishes, Daan