pub struct W(/* private fields */);
Expand description
Register COMP2_CSR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn inmsel(&mut self) -> INMSEL_W<'_>
pub fn inmsel(&mut self) -> INMSEL_W<'_>
Bits 4:7 - Comparator 2 signal selector for inverting input INM
Sourcepub fn inpsel(&mut self) -> INPSEL_W<'_>
pub fn inpsel(&mut self) -> INPSEL_W<'_>
Bits 8:9 - Comparator 2 signal selector for non-inverting input
Sourcepub fn winmode(&mut self) -> WINMODE_W<'_>
pub fn winmode(&mut self) -> WINMODE_W<'_>
Bit 11 - Comparator 2 non-inverting input selector for window mode
Sourcepub fn polarity(&mut self) -> POLARITY_W<'_>
pub fn polarity(&mut self) -> POLARITY_W<'_>
Bit 15 - Comparator 2 polarity selector
Sourcepub fn blanksel(&mut self) -> BLANKSEL_W<'_>
pub fn blanksel(&mut self) -> BLANKSEL_W<'_>
Bits 20:24 - Comparator 2 blanking source selector
Methods from Deref<Target = W<COMP2_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§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more