pub struct W(_);
Expand description
Register COMP7_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp7mode(&mut self) -> COMP7MODE_W<'_>
pub fn comp7mode(&mut self) -> COMP7MODE_W<'_>
Bits 2:3 - Comparator 7 mode
sourcepub fn comp7inmsel(&mut self) -> COMP7INMSEL_W<'_>
pub fn comp7inmsel(&mut self) -> COMP7INMSEL_W<'_>
Bits 4:6 - Comparator 7 inverting input selection
sourcepub fn comp7inpsel(&mut self) -> COMP7INPSEL_W<'_>
pub fn comp7inpsel(&mut self) -> COMP7INPSEL_W<'_>
Bit 7 - Comparator 7 non inverted input
sourcepub fn comp7outsel(&mut self) -> COMP7OUTSEL_W<'_>
pub fn comp7outsel(&mut self) -> COMP7OUTSEL_W<'_>
Bits 10:13 - Comparator 7 output selection
sourcepub fn comp7pol(&mut self) -> COMP7POL_W<'_>
pub fn comp7pol(&mut self) -> COMP7POL_W<'_>
Bit 15 - Comparator 7 output polarity
sourcepub fn comp7hyst(&mut self) -> COMP7HYST_W<'_>
pub fn comp7hyst(&mut self) -> COMP7HYST_W<'_>
Bits 16:17 - Comparator 7 hysteresis
sourcepub fn comp7_blanking(&mut self) -> COMP7_BLANKING_W<'_>
pub fn comp7_blanking(&mut self) -> COMP7_BLANKING_W<'_>
Bits 18:20 - Comparator 7 blanking source
sourcepub fn comp7lock(&mut self) -> COMP7LOCK_W<'_>
pub fn comp7lock(&mut self) -> COMP7LOCK_W<'_>
Bit 31 - Comparator 7 lock
Methods from Deref<Target = W<COMP7_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<COMP7_CSR_SPEC>> for W
impl From<W<COMP7_CSR_SPEC>> for W
sourcefn from(writer: W<COMP7_CSR_SPEC>) -> W
fn from(writer: W<COMP7_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