pub struct W(_);
Expand description
Register CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp1mode(&mut self) -> COMP1MODE_W<'_, 2>
pub fn comp1mode(&mut self) -> COMP1MODE_W<'_, 2>
Bits 2:3 - Comparator 1 mode
sourcepub fn comp1insel(&mut self) -> COMP1INSEL_W<'_, 4>
pub fn comp1insel(&mut self) -> COMP1INSEL_W<'_, 4>
Bits 4:6 - Comparator 1 inverting input selection
sourcepub fn comp1outsel(&mut self) -> COMP1OUTSEL_W<'_, 8>
pub fn comp1outsel(&mut self) -> COMP1OUTSEL_W<'_, 8>
Bits 8:10 - Comparator 1 output selection
sourcepub fn comp1pol(&mut self) -> COMP1POL_W<'_, 11>
pub fn comp1pol(&mut self) -> COMP1POL_W<'_, 11>
Bit 11 - Comparator 1 output polarity
sourcepub fn comp1hyst(&mut self) -> COMP1HYST_W<'_, 12>
pub fn comp1hyst(&mut self) -> COMP1HYST_W<'_, 12>
Bits 12:13 - Comparator 1 hysteresis
sourcepub fn comp1lock(&mut self) -> COMP1LOCK_W<'_, 15>
pub fn comp1lock(&mut self) -> COMP1LOCK_W<'_, 15>
Bit 15 - Comparator 1 lock
sourcepub fn comp2mode(&mut self) -> COMP2MODE_W<'_, 18>
pub fn comp2mode(&mut self) -> COMP2MODE_W<'_, 18>
Bits 18:19 - Comparator 2 mode
sourcepub fn comp2insel(&mut self) -> COMP2INSEL_W<'_, 20>
pub fn comp2insel(&mut self) -> COMP2INSEL_W<'_, 20>
Bits 20:22 - Comparator 2 inverting input selection
sourcepub fn comp2outsel(&mut self) -> COMP2OUTSEL_W<'_, 24>
pub fn comp2outsel(&mut self) -> COMP2OUTSEL_W<'_, 24>
Bits 24:26 - Comparator 2 output selection
sourcepub fn comp2pol(&mut self) -> COMP2POL_W<'_, 27>
pub fn comp2pol(&mut self) -> COMP2POL_W<'_, 27>
Bit 27 - Comparator 2 output polarity
sourcepub fn comp2hyst(&mut self) -> COMP2HYST_W<'_, 28>
pub fn comp2hyst(&mut self) -> COMP2HYST_W<'_, 28>
Bits 28:29 - Comparator 2 hysteresis
sourcepub fn comp2lock(&mut self) -> COMP2LOCK_W<'_, 31>
pub fn comp2lock(&mut self) -> COMP2LOCK_W<'_, 31>
Bit 31 - Comparator 2 lock
sourcepub fn comp1_inp_dac(&mut self) -> COMP1_INP_DAC_W<'_, 1>
pub fn comp1_inp_dac(&mut self) -> COMP1_INP_DAC_W<'_, 1>
Bit 1 - Comparator 1 non inverting input connection to DAC output
Methods from Deref<Target = W<CSR_SPEC>>
Trait Implementations
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