pub struct W(_);
Expand description
Register COMP2_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp2_en(&mut self) -> COMP2_EN_W<'_, 0>
pub fn comp2_en(&mut self) -> COMP2_EN_W<'_, 0>
Bit 0 - Comparator 2 enable bit
sourcepub fn comp2_pwrmode(&mut self) -> COMP2_PWRMODE_W<'_, 2>
pub fn comp2_pwrmode(&mut self) -> COMP2_PWRMODE_W<'_, 2>
Bits 2:3 - Power Mode of the comparator 2
sourcepub fn comp2_inmsel(&mut self) -> COMP2_INMSEL_W<'_, 4>
pub fn comp2_inmsel(&mut self) -> COMP2_INMSEL_W<'_, 4>
Bits 4:5 - Comparator 2 input minus selection bits
sourcepub fn comp2_inpsel(&mut self) -> COMP2_INPSEL_W<'_, 7>
pub fn comp2_inpsel(&mut self) -> COMP2_INPSEL_W<'_, 7>
Bits 7:8 - Comparator 1 input plus selection bit
sourcepub fn comp2_winmode(&mut self) -> COMP2_WINMODE_W<'_, 9>
pub fn comp2_winmode(&mut self) -> COMP2_WINMODE_W<'_, 9>
Bit 9 - Windows mode selection bit
sourcepub fn comp2_polarity(&mut self) -> COMP2_POLARITY_W<'_, 15>
pub fn comp2_polarity(&mut self) -> COMP2_POLARITY_W<'_, 15>
Bit 15 - Comparator 2 polarity selection bit
sourcepub fn comp2_hyst(&mut self) -> COMP2_HYST_W<'_, 16>
pub fn comp2_hyst(&mut self) -> COMP2_HYST_W<'_, 16>
Bits 16:17 - Comparator 2 hysteresis selection bits
sourcepub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W<'_, 18>
pub fn comp2_blanking(&mut self) -> COMP2_BLANKING_W<'_, 18>
Bits 18:20 - Comparator 2 blanking source selection bits
sourcepub fn comp2_brgen(&mut self) -> COMP2_BRGEN_W<'_, 22>
pub fn comp2_brgen(&mut self) -> COMP2_BRGEN_W<'_, 22>
Bit 22 - Scaler bridge enable
sourcepub fn comp2_scalen(&mut self) -> COMP2_SCALEN_W<'_, 23>
pub fn comp2_scalen(&mut self) -> COMP2_SCALEN_W<'_, 23>
Bit 23 - Voltage scaler enable bit
sourcepub fn comp2_inmesel(&mut self) -> COMP2_INMESEL_W<'_, 25>
pub fn comp2_inmesel(&mut self) -> COMP2_INMESEL_W<'_, 25>
Bits 25:26 - comparator 2 input minus extended selection bits.
sourcepub fn comp2_lock(&mut self) -> COMP2_LOCK_W<'_, 31>
pub fn comp2_lock(&mut self) -> COMP2_LOCK_W<'_, 31>
Bit 31 - CSR register lock bit
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