embassy-stm32

Crates

git

Versions

stm32l021g4

Flavors

embassy_stm32::low_power

Function stop_ready

Source
pub fn stop_ready(stop_mode: StopMode) -> bool
Expand description

Get whether the core is ready to enter the given stop mode.

This will return false if some peripheral driver is in use that prevents entering the given stop mode.