embassy-stm32

Crates

git

Versions

stm32h562ag

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.