pub struct W(_);
Expand description
Register COMP3_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp3mode(&mut self) -> COMP3MODE_W<'_>
pub fn comp3mode(&mut self) -> COMP3MODE_W<'_>
Bits 2:3 - Comparator 3 mode
sourcepub fn comp3inmsel(&mut self) -> COMP3INMSEL_W<'_>
pub fn comp3inmsel(&mut self) -> COMP3INMSEL_W<'_>
Bits 4:6 - Comparator 3 inverting input selection
sourcepub fn comp3inpsel(&mut self) -> COMP3INPSEL_W<'_>
pub fn comp3inpsel(&mut self) -> COMP3INPSEL_W<'_>
Bit 7 - Comparator 3 non inverted input
sourcepub fn comp3outsel(&mut self) -> COMP3OUTSEL_W<'_>
pub fn comp3outsel(&mut self) -> COMP3OUTSEL_W<'_>
Bits 10:13 - Comparator 3 output selection
sourcepub fn comp3pol(&mut self) -> COMP3POL_W<'_>
pub fn comp3pol(&mut self) -> COMP3POL_W<'_>
Bit 15 - Comparator 3 output polarity
sourcepub fn comp3hyst(&mut self) -> COMP3HYST_W<'_>
pub fn comp3hyst(&mut self) -> COMP3HYST_W<'_>
Bits 16:17 - Comparator 3 hysteresis
sourcepub fn comp3_blanking(&mut self) -> COMP3_BLANKING_W<'_>
pub fn comp3_blanking(&mut self) -> COMP3_BLANKING_W<'_>
Bits 18:20 - Comparator 3 blanking source
sourcepub fn comp3lock(&mut self) -> COMP3LOCK_W<'_>
pub fn comp3lock(&mut self) -> COMP3LOCK_W<'_>
Bit 31 - Comparator 3 lock
Methods from Deref<Target = W<COMP3_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<COMP3_CSR_SPEC>> for W
impl From<W<COMP3_CSR_SPEC>> for W
sourcefn from(writer: W<COMP3_CSR_SPEC>) -> W
fn from(writer: W<COMP3_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