pub struct W(_);
Expand description
Register COMP5_CSR
writer
Implementations
sourceimpl W
impl W
sourcepub fn comp5mode(&mut self) -> COMP5MODE_W<'_>
pub fn comp5mode(&mut self) -> COMP5MODE_W<'_>
Bits 2:3 - Comparator 5 mode
sourcepub fn comp5inmsel(&mut self) -> COMP5INMSEL_W<'_>
pub fn comp5inmsel(&mut self) -> COMP5INMSEL_W<'_>
Bits 4:6 - Comparator 5 inverting input selection
sourcepub fn comp5inpsel(&mut self) -> COMP5INPSEL_W<'_>
pub fn comp5inpsel(&mut self) -> COMP5INPSEL_W<'_>
Bit 7 - Comparator 5 non inverted input
sourcepub fn comp5outsel(&mut self) -> COMP5OUTSEL_W<'_>
pub fn comp5outsel(&mut self) -> COMP5OUTSEL_W<'_>
Bits 10:13 - Comparator 5 output selection
sourcepub fn comp5pol(&mut self) -> COMP5POL_W<'_>
pub fn comp5pol(&mut self) -> COMP5POL_W<'_>
Bit 15 - Comparator 5 output polarity
sourcepub fn comp5hyst(&mut self) -> COMP5HYST_W<'_>
pub fn comp5hyst(&mut self) -> COMP5HYST_W<'_>
Bits 16:17 - Comparator 5 hysteresis
sourcepub fn comp5_blanking(&mut self) -> COMP5_BLANKING_W<'_>
pub fn comp5_blanking(&mut self) -> COMP5_BLANKING_W<'_>
Bits 18:20 - Comparator 5 blanking source
sourcepub fn comp5lock(&mut self) -> COMP5LOCK_W<'_>
pub fn comp5lock(&mut self) -> COMP5LOCK_W<'_>
Bit 31 - Comparator 5 lock
Methods from Deref<Target = W<COMP5_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<COMP5_CSR_SPEC>> for W
impl From<W<COMP5_CSR_SPEC>> for W
sourcefn from(writer: W<COMP5_CSR_SPEC>) -> W
fn from(writer: W<COMP5_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