embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

active_wake_guards

Function active_wake_guards 

Source
pub fn active_wake_guards(_cs: &CriticalSection<'_>) -> bool
Expand description

Are there active WakeGuards?

Requires a critical section to ensure this doesn’t race between getting the guard count and performing some action like setting up deep sleep