embassy-stm32

Crates

git

Versions

stm32g051g8

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.