pub struct W(_);
Expand description
Register COMP2_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp2inmsel(&mut self) -> COMP2INMSEL_W<'_>
pub fn comp2inmsel(&mut self) -> COMP2INMSEL_W<'_>
Bits 4:6 - Comparator 2 inverting input selection
sourcepub fn comp2outsel(&mut self) -> COMP2OUTSEL_W<'_>
pub fn comp2outsel(&mut self) -> COMP2OUTSEL_W<'_>
Bits 10:13 - Comparator 2 output selection
sourcepub fn comp2pol(&mut self) -> COMP2POL_W<'_>
pub fn comp2pol(&mut self) -> COMP2POL_W<'_>
Bit 15 - Comparator 2 output polarity
sourcepub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W<'_>
pub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W<'_>
Bits 18:20 - Comparator 2 blanking source
sourcepub fn comp2lock(&mut self) -> COMP2LOCK_W<'_>
pub fn comp2lock(&mut self) -> COMP2LOCK_W<'_>
Bit 31 - Comparator 2 lock
sourcepub fn comp2mode(&mut self) -> COMP2MODE_W<'_>
pub fn comp2mode(&mut self) -> COMP2MODE_W<'_>
Bits 2:3 - Comparator 2 mode
sourcepub fn comp2inpsel(&mut self) -> COMP2INPSEL_W<'_>
pub fn comp2inpsel(&mut self) -> COMP2INPSEL_W<'_>
Bit 7 - Comparator 2 non inverted input
sourcepub fn comp2winmode(&mut self) -> COMP2WINMODE_W<'_>
pub fn comp2winmode(&mut self) -> COMP2WINMODE_W<'_>
Bit 9 - Comparator 2 window mode
sourcepub fn comp2hyst(&mut self) -> COMP2HYST_W<'_>
pub fn comp2hyst(&mut self) -> COMP2HYST_W<'_>
Bits 16:17 - Comparator 2 hysteresis
sourcepub fn comp2inmsel3(&mut self) -> COMP2INMSEL3_W<'_>
pub fn comp2inmsel3(&mut self) -> COMP2INMSEL3_W<'_>
Bit 22 - Comparator 2 inverting input selection
Methods from Deref<Target = W<COMP2_CSR_SPEC>>
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
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>) -> W
fn from(writer: W<COMP2_CSR_SPEC>) -> W
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