pub struct W { /* private fields */ }
Expand description
Value to write to the register
Implementations
sourceimpl W
impl W
sourcepub fn reset_value() -> W
pub fn reset_value() -> W
Reset value of the register
sourcepub fn comp2mode(&mut self) -> _COMP2MODEW<'_>
pub fn comp2mode(&mut self) -> _COMP2MODEW<'_>
Bits 2:3 - Comparator 2 mode
sourcepub fn comp2insel(&mut self) -> _COMP2INSELW<'_>
pub fn comp2insel(&mut self) -> _COMP2INSELW<'_>
Bits 4:6 - Comparator 2 inverting input selection
sourcepub fn comp2inpsel(&mut self) -> _COMP2INPSELW<'_>
pub fn comp2inpsel(&mut self) -> _COMP2INPSELW<'_>
Bit 7 - Comparator 2 non inverted input selection
sourcepub fn comp2inmsel(&mut self) -> _COMP2INMSELW<'_>
pub fn comp2inmsel(&mut self) -> _COMP2INMSELW<'_>
Bit 9 - Comparator 1inverting input selection
sourcepub fn comp2_out_sel(&mut self) -> _COMP2_OUT_SELW<'_>
pub fn comp2_out_sel(&mut self) -> _COMP2_OUT_SELW<'_>
Bits 10:13 - Comparator 2 output selection
sourcepub fn comp2pol(&mut self) -> _COMP2POLW<'_>
pub fn comp2pol(&mut self) -> _COMP2POLW<'_>
Bit 15 - Comparator 2 output polarity
sourcepub fn comp2hyst(&mut self) -> _COMP2HYSTW<'_>
pub fn comp2hyst(&mut self) -> _COMP2HYSTW<'_>
Bits 16:17 - Comparator 2 hysteresis
sourcepub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW<'_>
pub fn comp2_blanking(&mut self) -> _COMP2_BLANKINGW<'_>
Bits 18:20 - Comparator 2 blanking source
sourcepub fn comp2lock(&mut self) -> _COMP2LOCKW<'_>
pub fn comp2lock(&mut self) -> _COMP2LOCKW<'_>
Bit 31 - Comparator 2 lock
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more