pub struct R(_);
Expand description
Register CSR
reader
Implementations
sourceimpl R
impl R
sourcepub fn comp1mode(&self) -> COMP1MODE_R
pub fn comp1mode(&self) -> COMP1MODE_R
Bits 2:3 - Comparator 1 mode
sourcepub fn comp1insel(&self) -> COMP1INSEL_R
pub fn comp1insel(&self) -> COMP1INSEL_R
Bits 4:6 - Comparator 1 inverting input selection
sourcepub fn comp1outsel(&self) -> COMP1OUTSEL_R
pub fn comp1outsel(&self) -> COMP1OUTSEL_R
Bits 8:10 - Comparator 1 output selection
sourcepub fn comp1pol(&self) -> COMP1POL_R
pub fn comp1pol(&self) -> COMP1POL_R
Bit 11 - Comparator 1 output polarity
sourcepub fn comp1hyst(&self) -> COMP1HYST_R
pub fn comp1hyst(&self) -> COMP1HYST_R
Bits 12:13 - Comparator 1 hysteresis
sourcepub fn comp1out(&self) -> COMP1OUT_R
pub fn comp1out(&self) -> COMP1OUT_R
Bit 14 - Comparator 1 output
sourcepub fn comp1lock(&self) -> COMP1LOCK_R
pub fn comp1lock(&self) -> COMP1LOCK_R
Bit 15 - Comparator 1 lock
sourcepub fn comp2mode(&self) -> COMP2MODE_R
pub fn comp2mode(&self) -> COMP2MODE_R
Bits 18:19 - Comparator 2 mode
sourcepub fn comp2insel(&self) -> COMP2INSEL_R
pub fn comp2insel(&self) -> COMP2INSEL_R
Bits 20:22 - Comparator 2 inverting input selection
sourcepub fn comp2outsel(&self) -> COMP2OUTSEL_R
pub fn comp2outsel(&self) -> COMP2OUTSEL_R
Bits 24:26 - Comparator 2 output selection
sourcepub fn comp2pol(&self) -> COMP2POL_R
pub fn comp2pol(&self) -> COMP2POL_R
Bit 27 - Comparator 2 output polarity
sourcepub fn comp2hyst(&self) -> COMP2HYST_R
pub fn comp2hyst(&self) -> COMP2HYST_R
Bits 28:29 - Comparator 2 hysteresis
sourcepub fn comp2out(&self) -> COMP2OUT_R
pub fn comp2out(&self) -> COMP2OUT_R
Bit 30 - Comparator 2 output
sourcepub fn comp2lock(&self) -> COMP2LOCK_R
pub fn comp2lock(&self) -> COMP2LOCK_R
Bit 31 - Comparator 2 lock
sourcepub fn comp1sw1(&self) -> COMP1SW1_R
pub fn comp1sw1(&self) -> COMP1SW1_R
Bit 1 - Comparator 1 non inverting input DAC switch
Methods from Deref<Target = R<CSR_SPEC>>
Trait Implementations
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