pub struct W(_);
Expand description
Register COMP2_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn inmsel(&mut self) -> INMSEL_W<'_, 4>
pub fn inmsel(&mut self) -> INMSEL_W<'_, 4>
Bits 4:7 - Comparator 2 signal selector for inverting input INM
sourcepub fn inpsel(&mut self) -> INPSEL_W<'_, 8>
pub fn inpsel(&mut self) -> INPSEL_W<'_, 8>
Bits 8:9 - Comparator 2 signal selector for non-inverting input
sourcepub fn winmode(&mut self) -> WINMODE_W<'_, 11>
pub fn winmode(&mut self) -> WINMODE_W<'_, 11>
Bit 11 - Comparator 2 non-inverting input selector for window mode
sourcepub fn polarity(&mut self) -> POLARITY_W<'_, 15>
pub fn polarity(&mut self) -> POLARITY_W<'_, 15>
Bit 15 - Comparator 2 polarity selector
sourcepub fn blanksel(&mut self) -> BLANKSEL_W<'_, 20>
pub fn blanksel(&mut self) -> BLANKSEL_W<'_, 20>
Bits 20:24 - Comparator 2 blanking source selector
Methods from Deref<Target = W<COMP2_CSR_SPEC>>
Trait Implementations
sourceimpl From<W<COMP2_CSR_SPEC>> for W
impl From<W<COMP2_CSR_SPEC>> for W
sourcefn from(writer: W<COMP2_CSR_SPEC>) -> Self
fn from(writer: W<COMP2_CSR_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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