pub struct Config { /* private fields */ }
Implementations§
Source§impl Config
impl Config
pub fn hysteresis(self, hysteresis: Hysteresis) -> Self
pub fn output_inverted(self) -> Self
pub fn output_polarity(self, inverted: bool) -> Self
pub fn power_mode(self, power_mode: PowerMode) -> Self
Sourcepub fn output_xor(self) -> Self
pub fn output_xor(self) -> Self
Sets the output to be Comparator 1 XOR Comparator 2. Used to implement window comparator mode.
Trait Implementations§
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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