pub struct W(_);
Expand description
Register COMP1_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp1_en(&mut self) -> COMP1_EN_W<'_, 0>
pub fn comp1_en(&mut self) -> COMP1_EN_W<'_, 0>
Bit 0 - Comparator enable
sourcepub fn comp1_pwrmode(&mut self) -> COMP1_PWRMODE_W<'_, 2>
pub fn comp1_pwrmode(&mut self) -> COMP1_PWRMODE_W<'_, 2>
Bits 2:3 - Comparator power mode
sourcepub fn comp1_inmsel(&mut self) -> COMP1_INMSEL_W<'_, 4>
pub fn comp1_inmsel(&mut self) -> COMP1_INMSEL_W<'_, 4>
Bits 4:6 - Comparator input minus selection
sourcepub fn comp1_inpsel(&mut self) -> COMP1_INPSEL_W<'_, 7>
pub fn comp1_inpsel(&mut self) -> COMP1_INPSEL_W<'_, 7>
Bits 7:8 - Comparator input plus selection
sourcepub fn comp1_polarity(&mut self) -> COMP1_POLARITY_W<'_, 15>
pub fn comp1_polarity(&mut self) -> COMP1_POLARITY_W<'_, 15>
Bit 15 - Comparator output polarity
sourcepub fn comp1_hyst(&mut self) -> COMP1_HYST_W<'_, 16>
pub fn comp1_hyst(&mut self) -> COMP1_HYST_W<'_, 16>
Bits 16:17 - Comparator hysteresis
sourcepub fn comp1_blanking(&mut self) -> COMP1_BLANKING_W<'_, 18>
pub fn comp1_blanking(&mut self) -> COMP1_BLANKING_W<'_, 18>
Bits 18:20 - Comparator blanking source
sourcepub fn comp1_brgen(&mut self) -> COMP1_BRGEN_W<'_, 22>
pub fn comp1_brgen(&mut self) -> COMP1_BRGEN_W<'_, 22>
Bit 22 - Comparator voltage scaler enable
sourcepub fn comp1_scalen(&mut self) -> COMP1_SCALEN_W<'_, 23>
pub fn comp1_scalen(&mut self) -> COMP1_SCALEN_W<'_, 23>
Bit 23 - Comparator scaler bridge enable
sourcepub fn comp1_inmesel(&mut self) -> COMP1_INMESEL_W<'_, 25>
pub fn comp1_inmesel(&mut self) -> COMP1_INMESEL_W<'_, 25>
Bits 25:26 - Comparator input minus extended selection
sourcepub fn comp1_lock(&mut self) -> COMP1_LOCK_W<'_, 31>
pub fn comp1_lock(&mut self) -> COMP1_LOCK_W<'_, 31>
Bit 31 - Comparator lock
Methods from Deref<Target = W<COMP1_CSR_SPEC>>
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>) -> Self
fn from(writer: W<COMP1_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