pub struct W(_);
Expand description
Register COMP1_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp1_inp_dac(&mut self) -> COMP1_INP_DAC_W<'_>
pub fn comp1_inp_dac(&mut self) -> COMP1_INP_DAC_W<'_>
Bit 1 - Comparator 1 non inverting input connection to DAC output
sourcepub fn comp1mode(&mut self) -> COMP1MODE_W<'_>
pub fn comp1mode(&mut self) -> COMP1MODE_W<'_>
Bits 2:3 - Comparator 1 mode
sourcepub fn comp1inmsel(&mut self) -> COMP1INMSEL_W<'_>
pub fn comp1inmsel(&mut self) -> COMP1INMSEL_W<'_>
Bits 4:6 - Comparator 1 inverting input selection
sourcepub fn comp1outsel(&mut self) -> COMP1OUTSEL_W<'_>
pub fn comp1outsel(&mut self) -> COMP1OUTSEL_W<'_>
Bits 10:13 - Comparator 1 output selection
sourcepub fn comp1pol(&mut self) -> COMP1POL_W<'_>
pub fn comp1pol(&mut self) -> COMP1POL_W<'_>
Bit 15 - Comparator 1 output polarity
sourcepub fn comp1hyst(&mut self) -> COMP1HYST_W<'_>
pub fn comp1hyst(&mut self) -> COMP1HYST_W<'_>
Bits 16:17 - Comparator 1 hysteresis
sourcepub fn comp1_blanking(&mut self) -> COMP1_BLANKING_W<'_>
pub fn comp1_blanking(&mut self) -> COMP1_BLANKING_W<'_>
Bits 18:20 - Comparator 1 blanking source
sourcepub fn comp1lock(&mut self) -> COMP1LOCK_W<'_>
pub fn comp1lock(&mut self) -> COMP1LOCK_W<'_>
Bit 31 - Comparator 1 lock
Methods from Deref<Target = W<COMP1_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<COMP1_CSR_SPEC>> for W
impl From<W<COMP1_CSR_SPEC>> for W
sourcefn from(writer: W<COMP1_CSR_SPEC>) -> W
fn from(writer: W<COMP1_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