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 1 enable bit
sourcepub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
pub fn comp1_pwrmode(&self) -> COMP1_PWRMODE_R
Bits 2:3 - Power Mode of the comparator 1
sourcepub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
pub fn comp1_inmsel(&self) -> COMP1_INMSEL_R
Bits 4:6 - Comparator 1 Input Minus connection configuration bit
sourcepub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
pub fn comp1_inpsel(&self) -> COMP1_INPSEL_R
Bits 7:8 - Comparator1 input plus selection bit
sourcepub fn comp1_polarity(&self) -> COMP1_POLARITY_R
pub fn comp1_polarity(&self) -> COMP1_POLARITY_R
Bit 15 - Comparator 1 polarity selection bit
sourcepub fn comp1_hyst(&self) -> COMP1_HYST_R
pub fn comp1_hyst(&self) -> COMP1_HYST_R
Bits 16:17 - Comparator 1 hysteresis selection bits
sourcepub fn comp1_blanking(&self) -> COMP1_BLANKING_R
pub fn comp1_blanking(&self) -> COMP1_BLANKING_R
Bits 18:20 - Comparator 1 blanking source selection bits
sourcepub fn comp1_brgen(&self) -> COMP1_BRGEN_R
pub fn comp1_brgen(&self) -> COMP1_BRGEN_R
Bit 22 - Scaler bridge enable
sourcepub fn comp1_scalen(&self) -> COMP1_SCALEN_R
pub fn comp1_scalen(&self) -> COMP1_SCALEN_R
Bit 23 - Voltage scaler enable bit
sourcepub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
pub fn comp1_inmesel(&self) -> COMP1_INMESEL_R
Bits 25:26 - comparator 1 input minus extended selection bits
sourcepub fn comp1_value(&self) -> COMP1_VALUE_R
pub fn comp1_value(&self) -> COMP1_VALUE_R
Bit 30 - Comparator 1 output status bit
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
sourceimpl From<R<COMP1_CSR_SPEC>> for R
impl From<R<COMP1_CSR_SPEC>> for R
sourcefn from(reader: R<COMP1_CSR_SPEC>) -> R
fn from(reader: R<COMP1_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