pub struct R(_);
Expand description
Register COMP1_CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn comp1_en(&self) -> COMP1_EN_R
pub fn comp1_en(&self) -> COMP1_EN_R
Bit 0 - Comparator enable
sourcepub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
Bits 2:3 - Comparator power mode
sourcepub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
Bits 4:6 - Comparator input minus selection
sourcepub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
Bits 7:8 - Comparator input plus selection
sourcepub fn comp1_polarity(&self) -> COMP1_POLARITY_R
pub fn comp1_polarity(&self) -> COMP1_POLARITY_R
Bit 15 - Comparator output polarity
sourcepub fn comp1_hyst(&self) -> COMP1_HYST_R
pub fn comp1_hyst(&self) -> COMP1_HYST_R
Bits 16:17 - Comparator hysteresis
sourcepub fn comp1_blanking(&self) -> COMP1_BLANKING_R
pub fn comp1_blanking(&self) -> COMP1_BLANKING_R
Bits 18:20 - Comparator blanking source
sourcepub fn comp1_brgen(&self) -> COMP1_BRGEN_R
pub fn comp1_brgen(&self) -> COMP1_BRGEN_R
Bit 22 - Comparator voltage scaler enable
sourcepub fn comp1_scalen(&self) -> COMP1_SCALEN_R
pub fn comp1_scalen(&self) -> COMP1_SCALEN_R
Bit 23 - Comparator scaler bridge enable
sourcepub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
pub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
Bits 25:26 - Comparator input minus extended selection
sourcepub fn comp1_value(&self) -> COMP1_VALUE_R
pub fn comp1_value(&self) -> COMP1_VALUE_R
Bit 30 - Comparator output level
sourcepub fn comp1_lock(&self) -> COMP1_LOCK_R
pub fn comp1_lock(&self) -> COMP1_LOCK_R
Bit 31 - Comparator lock
Methods from Deref<Target = R<COMP1_CSR_SPEC>>
Trait Implementations
sourceimpl From<R<COMP1_CSR_SPEC>> for R
impl From<R<COMP1_CSR_SPEC>> for R
sourcefn from(reader: R<COMP1_CSR_SPEC>) -> Self
fn from(reader: R<COMP1_CSR_SPEC>) -> Self
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