embassy-stm32

Crates

git

Versions

stm32f412rg

Flavors

embassy_stm32::rcc

Function disable_with_cs

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

Disables peripheral T.

ยงSafety

Peripheral must not be in use.