[−]Struct nucleo_f042k6::syscfg_comp::comp_csr::R
Value read from the register
Methods
impl R
impl R
pub fn bits(&self) -> u32 |
Value of the register as raw bits
pub fn comp1en(&self) -> COMP1ENR |
Bit 0 - Comparator 1 enable
pub fn comp1_inp_dac(&self) -> COMP1_INP_DACR |
Bit 1 - COMP1_INP_DAC
pub fn comp1mode(&self) -> COMP1MODER |
Bits 2:3 - Comparator 1 mode
pub fn comp1insel(&self) -> COMP1INSELR |
Bits 4:6 - Comparator 1 inverting input selection
pub fn comp1outsel(&self) -> COMP1OUTSELR |
Bits 8:10 - Comparator 1 output selection
pub fn comp1pol(&self) -> COMP1POLR |
Bit 11 - Comparator 1 output polarity
pub fn comp1hyst(&self) -> COMP1HYSTR |
Bits 12:13 - Comparator 1 hysteresis
pub fn comp1out(&self) -> COMP1OUTR |
Bit 14 - Comparator 1 output
pub fn comp1lock(&self) -> COMP1LOCKR |
Bit 15 - Comparator 1 lock
pub fn comp2en(&self) -> COMP2ENR |
Bit 16 - Comparator 2 enable
pub fn comp2mode(&self) -> COMP2MODER |
Bits 18:19 - Comparator 2 mode
pub fn comp2insel(&self) -> COMP2INSELR |
Bits 20:22 - Comparator 2 inverting input selection
pub fn wndwen(&self) -> WNDWENR |
Bit 23 - Window mode enable
pub fn comp2outsel(&self) -> COMP2OUTSELR |
Bits 24:26 - Comparator 2 output selection
pub fn comp2pol(&self) -> COMP2POLR |
Bit 27 - Comparator 2 output polarity
pub fn comp2hyst(&self) -> COMP2HYSTR |
Bits 28:29 - Comparator 2 hysteresis
pub fn comp2out(&self) -> COMP2OUTR |
Bit 30 - Comparator 2 output
pub fn comp2lock(&self) -> COMP2LOCKR |
Bit 31 - Comparator 2 lock
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |