pub struct R(_);
Expand description
Register COMP2_CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn comp2speed(&self) -> BitReaderRaw<COMP2SPEED_A>
pub fn comp2speed(&self) -> BitReaderRaw<COMP2SPEED_A>
Bit 3 - Comparator 2 power mode selection bit
sourcepub fn comp2innsel(&self) -> FieldReaderRaw<u8, COMP2INNSEL_A>
pub fn comp2innsel(&self) -> FieldReaderRaw<u8, COMP2INNSEL_A>
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
sourcepub fn comp2inpsel(&self) -> FieldReaderRaw<u8, COMP2INPSEL_A>
pub fn comp2inpsel(&self) -> FieldReaderRaw<u8, COMP2INPSEL_A>
Bits 8:10 - Comparator 2 Input Plus connection configuration bit
sourcepub fn comp2lptimin2(&self) -> BitReaderRaw<COMP2LPTIMIN2_A>
pub fn comp2lptimin2(&self) -> BitReaderRaw<COMP2LPTIMIN2_A>
Bit 12 - Comparator 2 LPTIM input 2 propagation bit
sourcepub fn comp2lptimin1(&self) -> BitReaderRaw<COMP2LPTIMIN1_A>
pub fn comp2lptimin1(&self) -> BitReaderRaw<COMP2LPTIMIN1_A>
Bit 13 - Comparator 2 LPTIM input 1 propagation bit
sourcepub fn comp2polarity(&self) -> BitReaderRaw<COMP2POLARITY_A>
pub fn comp2polarity(&self) -> BitReaderRaw<COMP2POLARITY_A>
Bit 15 - Comparator 2 polarity selection bit
sourcepub fn comp2value(&self) -> BitReaderRaw<COMP2VALUE_A>
pub fn comp2value(&self) -> BitReaderRaw<COMP2VALUE_A>
Bit 30 - Comparator 2 output status bit
sourcepub fn comp2lock(&self) -> BitReaderRaw<COMP2LOCK_A>
pub fn comp2lock(&self) -> BitReaderRaw<COMP2LOCK_A>
Bit 31 - COMP2_CSR register lock bit
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