pub struct R(/* private fields */);
Expand description
Register COMP1_CSR
reader
Implementations§
Source§impl R
impl R
Sourcepub fn inmsel(&self) -> INMSEL_R
pub fn inmsel(&self) -> INMSEL_R
Bits 4:7 - Comparator 2 signal selector for inverting input INM
Sourcepub fn inpsel(&self) -> INPSEL_R
pub fn inpsel(&self) -> INPSEL_R
Bits 8:9 - Comparator 2 signal selector for non-inverting input
Sourcepub fn winmode(&self) -> WINMODE_R
pub fn winmode(&self) -> WINMODE_R
Bit 11 - Comparator 2 non-inverting input selector for window mode
Sourcepub fn polarity(&self) -> POLARITY_R
pub fn polarity(&self) -> POLARITY_R
Bit 15 - Comparator 2 polarity selector
Sourcepub fn blanksel(&self) -> BLANKSEL_R
pub fn blanksel(&self) -> BLANKSEL_R
Bits 20:24 - Comparator 2 blanking source selector
Methods from Deref<Target = R<COMP1_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§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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