embassy-stm32

Crates

git

Versions

stm32wle5jc

Flavors

disable_with_cs

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.