pub struct R(_);
Expand description
Register COMP2_CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn comp2inmsel(&self) -> COMP2INMSEL_R
pub fn comp2inmsel(&self) -> COMP2INMSEL_R
Bits 4:6 - Comparator 2 inverting input selection
sourcepub fn comp2outsel(&self) -> COMP2OUTSEL_R
pub fn comp2outsel(&self) -> COMP2OUTSEL_R
Bits 10:13 - Comparator 2 output selection
sourcepub fn comp2pol(&self) -> COMP2POL_R
pub fn comp2pol(&self) -> COMP2POL_R
Bit 15 - Comparator 2 output polarity
sourcepub fn comp2_blanking(&self) -> COMP2_BLANKING_R
pub fn comp2_blanking(&self) -> COMP2_BLANKING_R
Bits 18:20 - Comparator 2 blanking source
sourcepub fn comp2out(&self) -> COMP2OUT_R
pub fn comp2out(&self) -> COMP2OUT_R
Bit 30 - Comparator 2 output
sourcepub fn comp2lock(&self) -> COMP2LOCK_R
pub fn comp2lock(&self) -> COMP2LOCK_R
Bit 31 - Comparator 2 lock
sourcepub fn comp2mode(&self) -> COMP2MODE_R
pub fn comp2mode(&self) -> COMP2MODE_R
Bits 2:3 - Comparator 2 mode
sourcepub fn comp2inpsel(&self) -> COMP2INPSEL_R
pub fn comp2inpsel(&self) -> COMP2INPSEL_R
Bit 7 - Comparator 2 non inverted input
sourcepub fn comp2winmode(&self) -> COMP2WINMODE_R
pub fn comp2winmode(&self) -> COMP2WINMODE_R
Bit 9 - Comparator 2 window mode
sourcepub fn comp2hyst(&self) -> COMP2HYST_R
pub fn comp2hyst(&self) -> COMP2HYST_R
Bits 16:17 - Comparator 2 hysteresis
sourcepub fn comp2inmsel3(&self) -> COMP2INMSEL3_R
pub fn comp2inmsel3(&self) -> COMP2INMSEL3_R
Bit 22 - Comparator 2 inverting input selection
Methods from Deref<Target = R<COMP2_CSR_SPEC>>
sourcepub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
sourceimpl From<R<COMP2_CSR_SPEC>> for R
impl From<R<COMP2_CSR_SPEC>> for R
sourcefn from(reader: R<COMP2_CSR_SPEC>) -> R
fn from(reader: R<COMP2_CSR_SPEC>) -> R
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