Trait WindowComparatorExt

Source
pub trait WindowComparatorExt<UC, LC> {
    // Required method
    fn window_comparator<I: PositiveInput<UC>, L: NegativeInput<LC>, U: NegativeInput<UC>>(
        self,
        input: I,
        lower_threshold: L,
        upper_threshold: U,
        config: Config,
        clocks: &Clocks,
    ) -> WindowComparator<UC, LC, Disabled>;
}

Required Methods§

Source

fn window_comparator<I: PositiveInput<UC>, L: NegativeInput<LC>, U: NegativeInput<UC>>( self, input: I, lower_threshold: L, upper_threshold: U, config: Config, clocks: &Clocks, ) -> WindowComparator<UC, LC, Disabled>

Uses two comparators to implement a window comparator

See Figure 69 in RM0444 Rev 5. Ignores and overrides the output_xor setting in config.

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.

Implementations on Foreign Types§

Source§

impl WindowComparatorExt<COMP1, COMP2> for (COMP1, COMP2)

Source§

fn window_comparator<I: PositiveInput<COMP1>, L: NegativeInput<COMP2>, U: NegativeInput<COMP1>>( self, input: I, lower_threshold: L, upper_threshold: U, config: Config, clocks: &Clocks, ) -> WindowComparator<COMP1, COMP2, Disabled>

Source§

impl WindowComparatorExt<COMP2, COMP1> for (COMP2, COMP1)

Source§

fn window_comparator<I: PositiveInput<COMP2>, L: NegativeInput<COMP1>, U: NegativeInput<COMP2>>( self, input: I, lower_threshold: L, upper_threshold: U, config: Config, clocks: &Clocks, ) -> WindowComparator<COMP2, COMP1, Disabled>

Implementors§