Struct stm32f042_hal::stm32::syscfg_comp::comp_csr::R
source · pub struct R { /* private fields */ }
Expand description
Value read from the register
Implementations
sourceimpl R
impl R
sourcepub fn comp1_inp_dac(&self) -> COMP1_INP_DACR
pub fn comp1_inp_dac(&self) -> COMP1_INP_DACR
Bit 1 - COMP1_INP_DAC
sourcepub fn comp1mode(&self) -> COMP1MODER
pub fn comp1mode(&self) -> COMP1MODER
Bits 2:3 - Comparator 1 mode
sourcepub fn comp1insel(&self) -> COMP1INSELR
pub fn comp1insel(&self) -> COMP1INSELR
Bits 4:6 - Comparator 1 inverting input selection
sourcepub fn comp1outsel(&self) -> COMP1OUTSELR
pub fn comp1outsel(&self) -> COMP1OUTSELR
Bits 8:10 - Comparator 1 output selection
sourcepub fn comp1hyst(&self) -> COMP1HYSTR
pub fn comp1hyst(&self) -> COMP1HYSTR
Bits 12:13 - Comparator 1 hysteresis
sourcepub fn comp1lock(&self) -> COMP1LOCKR
pub fn comp1lock(&self) -> COMP1LOCKR
Bit 15 - Comparator 1 lock
sourcepub fn comp2mode(&self) -> COMP2MODER
pub fn comp2mode(&self) -> COMP2MODER
Bits 18:19 - Comparator 2 mode
sourcepub fn comp2insel(&self) -> COMP2INSELR
pub fn comp2insel(&self) -> COMP2INSELR
Bits 20:22 - Comparator 2 inverting input selection
sourcepub fn comp2outsel(&self) -> COMP2OUTSELR
pub fn comp2outsel(&self) -> COMP2OUTSELR
Bits 24:26 - Comparator 2 output selection
sourcepub fn comp2hyst(&self) -> COMP2HYSTR
pub fn comp2hyst(&self) -> COMP2HYSTR
Bits 28:29 - Comparator 2 hysteresis
sourcepub fn comp2lock(&self) -> COMP2LOCKR
pub fn comp2lock(&self) -> COMP2LOCKR
Bit 31 - Comparator 2 lock
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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