pub enum Polarity {
NotInverted = 0,
Inverted = 1,
}Expand description
Polarity of the comparator output.
Affects the pin, EXTI and the timer, but not CmpRunning::output, which
is read off the raw comparison.
Variants§
NotInverted = 0
The output is high while the non-inverting input is the higher one.
Inverted = 1
The output is inverted.
Trait Implementations§
impl Copy for Polarity
impl Eq for Polarity
impl StructuralPartialEq for Polarity
Auto Trait Implementations§
impl Freeze for Polarity
impl RefUnwindSafe for Polarity
impl Send for Polarity
impl Sync for Polarity
impl Unpin for Polarity
impl UnsafeUnpin for Polarity
impl UnwindSafe for Polarity
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more