[−][src]Struct stm32l0xx_hal::pac::syscfg::comp2_csr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn comp2en(&self) -> COMP2ENR
[src]
Bit 0 - Comparator 2 enable bit
pub fn comp2speed(&self) -> COMP2SPEEDR
[src]
Bit 3 - Comparator 2 power mode selection bit
pub fn comp2innsel(&self) -> COMP2INNSELR
[src]
Bits 4:6 - Comparator 2 Input Minus connection configuration bit
pub fn comp2inpsel(&self) -> COMP2INPSELR
[src]
Bits 8:10 - Comparator 2 Input Plus connection configuration bit
pub fn comp2lptimin2(&self) -> COMP2LPTIMIN2R
[src]
Bit 12 - Comparator 2 LPTIM input 2 propagation bit
pub fn comp2lptimin1(&self) -> COMP2LPTIMIN1R
[src]
Bit 13 - Comparator 2 LPTIM input 1 propagation bit
pub fn comp2polarity(&self) -> COMP2POLARITYR
[src]
Bit 15 - Comparator 2 polarity selection bit
pub fn comp2value(&self) -> COMP2VALUER
[src]
Bit 30 - Comparator 2 output status bit
pub fn comp2lock(&self) -> COMP2LOCKR
[src]
Bit 31 - COMP2_CSR register lock bit
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self