embassy-stm32

Crates

git

Versions

stm32h7b0zb

Flavors

Skip to main content

Tcv2SplitBuild

Trait Tcv2SplitBuild 

Source
pub trait Tcv2SplitBuild<T: Instance, C: ClockOutputMode, S0: PinSet, S1: PinSet> {
    type Out;

    // Required method
    fn build<'d>(
        common: &mut DfsdmCommon<'d, T, Enabled>,
        ch0: (S0::Datin<'d>, S0::Ckin<'d>),
        ch1: (S1::Datin<'d>, S1::Ckin<'d>),
    ) -> Self::Out;
}
Expand description

Builds the actual split struct from already-extracted pin pairs.

Required Associated Types§

Source

type Out

The split struct for this (transceiver, filter) shape.

Required Methods§

Source

fn build<'d>( common: &mut DfsdmCommon<'d, T, Enabled>, ch0: (S0::Datin<'d>, S0::Ckin<'d>), ch1: (S1::Datin<'d>, S1::Ckin<'d>), ) -> Self::Out

Registers the pins with common and constructs the split.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§