pub struct R(_);
Expand description
Register COMP2_CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn comp2_en(&self) -> COMP2_EN_R
pub fn comp2_en(&self) -> COMP2_EN_R
Bit 0 - Comparator 2 enable bit
sourcepub fn comp2_pwrmode(&self) -> COMP2_PWRMODE_R
pub fn comp2_pwrmode(&self) -> COMP2_PWRMODE_R
Bits 2:3 - Power Mode of the comparator 2
sourcepub fn comp2_inmsel(&self) -> COMP2_INMSEL_R
pub fn comp2_inmsel(&self) -> COMP2_INMSEL_R
Bits 4:5 - Comparator 2 input minus selection bits
sourcepub fn comp2_inpsel(&self) -> COMP2_INPSEL_R
pub fn comp2_inpsel(&self) -> COMP2_INPSEL_R
Bits 7:8 - Comparator 1 input plus selection bit
sourcepub fn comp2_winmode(&self) -> COMP2_WINMODE_R
pub fn comp2_winmode(&self) -> COMP2_WINMODE_R
Bit 9 - Windows mode selection bit
sourcepub fn comp2_polarity(&self) -> COMP2_POLARITY_R
pub fn comp2_polarity(&self) -> COMP2_POLARITY_R
Bit 15 - Comparator 2 polarity selection bit
sourcepub fn comp2_hyst(&self) -> COMP2_HYST_R
pub fn comp2_hyst(&self) -> COMP2_HYST_R
Bits 16:17 - Comparator 2 hysteresis selection bits
sourcepub fn comp2_blanking(&self) -> COMP2_BLANKING_R
pub fn comp2_blanking(&self) -> COMP2_BLANKING_R
Bits 18:20 - Comparator 2 blanking source selection bits
sourcepub fn comp2_brgen(&self) -> COMP2_BRGEN_R
pub fn comp2_brgen(&self) -> COMP2_BRGEN_R
Bit 22 - Scaler bridge enable
sourcepub fn comp2_scalen(&self) -> COMP2_SCALEN_R
pub fn comp2_scalen(&self) -> COMP2_SCALEN_R
Bit 23 - Voltage scaler enable bit
sourcepub fn comp2_inmesel(&self) -> COMP2_INMESEL_R
pub fn comp2_inmesel(&self) -> COMP2_INMESEL_R
Bits 25:26 - comparator 2 input minus extended selection bits.
sourcepub fn comp2_value(&self) -> COMP2_VALUE_R
pub fn comp2_value(&self) -> COMP2_VALUE_R
Bit 30 - Comparator 2 output status bit
sourcepub fn comp2_lock(&self) -> COMP2_LOCK_R
pub fn comp2_lock(&self) -> COMP2_LOCK_R
Bit 31 - CSR register lock bit
Methods from Deref<Target = R<COMP2_CSR_SPEC>>
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>) -> Self
fn from(reader: R<COMP2_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