embassy-stm32

Crates

git

Versions

stm32l100r8-a

Flavors

embassy_stm32::rcc

Function enable_and_reset_with_cs

Source
pub fn enable_and_reset_with_cs<T: RccPeripheral>(cs: CriticalSection<'_>)
Expand description

Enables and resets peripheral T.

ยงSafety

Peripheral must not be in use.