Trait I2sFreq

Source
pub trait I2sFreq {
    // Required method
    fn try_i2s_freq(clocks: &Clocks) -> Option<Hertz>;

    // Provided method
    fn i2s_freq(clocks: &Clocks) -> Hertz { ... }
}
Expand description

Trait to get I2s frequency at SPI peripheral input.

Required Methods§

Provided Methods§

Source

fn i2s_freq(clocks: &Clocks) -> Hertz

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl I2sFreq for APB1

Source§

impl I2sFreq for APB2

Source§

impl<T> I2sFreq for T
where T: RccBus, T::Bus: I2sFreq,