embassy-stm32

Crates

git

Versions

stm32u599nj

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.