embassy-stm32

Crates

git

Versions

stm32u5f7vj

Flavors

embassy_stm32::rcc

Function frequency

source
pub fn frequency<T: RccPeripheral>() -> Hertz
Expand description

Get the kernel clock frequency of the peripheral T.

ยงPanics

Panics if the clock is not active.