pub struct W(_);
Expand description
Register COMP4_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp4inmsel(&mut self) -> COMP4INMSEL_W<'_>
pub fn comp4inmsel(&mut self) -> COMP4INMSEL_W<'_>
Bits 4:6 - Comparator 4 inverting input selection
sourcepub fn comp4outsel(&mut self) -> COMP4OUTSEL_W<'_>
pub fn comp4outsel(&mut self) -> COMP4OUTSEL_W<'_>
Bits 10:13 - Comparator 4 output selection
sourcepub fn comp4pol(&mut self) -> COMP4POL_W<'_>
pub fn comp4pol(&mut self) -> COMP4POL_W<'_>
Bit 15 - Comparator 4 output polarity
sourcepub fn comp4_blanking(&mut self) -> COMP4_BLANKING_W<'_>
pub fn comp4_blanking(&mut self) -> COMP4_BLANKING_W<'_>
Bits 18:20 - Comparator 4 blanking source
sourcepub fn comp4lock(&mut self) -> COMP4LOCK_W<'_>
pub fn comp4lock(&mut self) -> COMP4LOCK_W<'_>
Bit 31 - Comparator 4 lock
sourcepub fn comp4winmode(&mut self) -> COMP4WINMODE_W<'_>
pub fn comp4winmode(&mut self) -> COMP4WINMODE_W<'_>
Bit 9 - Comparator 4 window mode
sourcepub fn comp4mode(&mut self) -> COMP4MODE_W<'_>
pub fn comp4mode(&mut self) -> COMP4MODE_W<'_>
Bits 2:3 - Comparator 4 mode
sourcepub fn comp4inpsel(&mut self) -> COMP4INPSEL_W<'_>
pub fn comp4inpsel(&mut self) -> COMP4INPSEL_W<'_>
Bit 7 - Comparator 4 non inverted input
sourcepub fn comp4hyst(&mut self) -> COMP4HYST_W<'_>
pub fn comp4hyst(&mut self) -> COMP4HYST_W<'_>
Bits 16:17 - Comparator 4 hysteresis
sourcepub fn comp4inmsel3(&mut self) -> COMP4INMSEL3_W<'_>
pub fn comp4inmsel3(&mut self) -> COMP4INMSEL3_W<'_>
Bit 22 - Comparator 4 inverting input selection
Methods from Deref<Target = W<COMP4_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<COMP4_CSR_SPEC>> for W
impl From<W<COMP4_CSR_SPEC>> for W
sourcefn from(writer: W<COMP4_CSR_SPEC>) -> W
fn from(writer: W<COMP4_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