embassy-stm32

Crates

git

Versions

stm32h747ig-cm7

Flavors

Skip to main content

Tcv8SplitBuild

Trait Tcv8SplitBuild 

Source
pub trait Tcv8SplitBuild<T: Instance, C: ClockOutputMode, S0: PinSet, S1: PinSet, S2: PinSet, S3: PinSet, S4: PinSet, S5: PinSet, S6: PinSet, S7: 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>),
        ch2: (S2::Datin<'d>, S2::Ckin<'d>),
        ch3: (S3::Datin<'d>, S3::Ckin<'d>),
        ch4: (S4::Datin<'d>, S4::Ckin<'d>),
        ch5: (S5::Datin<'d>, S5::Ckin<'d>),
        ch6: (S6::Datin<'d>, S6::Ckin<'d>),
        ch7: (S7::Datin<'d>, S7::Ckin<'d>),
    ) -> Self::Out;
}
Expand description

8-transceiver twin of Tcv2SplitBuild.

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>), ch2: (S2::Datin<'d>, S2::Ckin<'d>), ch3: (S3::Datin<'d>, S3::Ckin<'d>), ch4: (S4::Datin<'d>, S4::Ckin<'d>), ch5: (S5::Datin<'d>, S5::Ckin<'d>), ch6: (S6::Datin<'d>, S6::Ckin<'d>), ch7: (S7::Datin<'d>, S7::Ckin<'d>), ) -> Self::Out

Registers the pins with common and constructs the split.

The eight (datin, ckin) tuples are the point of the API: they carry each channel’s type-level pin pair, so the arity is load-bearing.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§