Trait stm32g0xx_hal::analog::comparator::WindowComparatorExt[][src]

pub trait WindowComparatorExt<UC, LC> {
    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

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>
[src]

Uses two comparators to implement a window comparator

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

Loading content...

Implementors

impl WindowComparatorExt<COMP1, COMP2> for (COMP1, COMP2)[src]

impl WindowComparatorExt<COMP2, COMP1> for (COMP2, COMP1)[src]

Loading content...