embassy-stm32

Crates

git

Versions

stm32g051k8

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.