[][src]Struct stm32l4xx_hal::stm32::comp::comp1_csr::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn comp1_en(&self) -> COMP1_ENR[src]

Bit 0 - Comparator 1 enable bit

pub fn comp1_pwrmode(&self) -> COMP1_PWRMODER[src]

Bits 2:3 - Power Mode of the comparator 1

pub fn comp1_inmsel(&self) -> COMP1_INMSELR[src]

Bits 4:6 - Comparator 1 Input Minus connection configuration bit

pub fn comp1_inpsel(&self) -> COMP1_INPSELR[src]

Bits 7:8 - Comparator1 input plus selection bit

pub fn comp1_polarity(&self) -> COMP1_POLARITYR[src]

Bit 15 - Comparator 1 polarity selection bit

pub fn comp1_hyst(&self) -> COMP1_HYSTR[src]

Bits 16:17 - Comparator 1 hysteresis selection bits

pub fn comp1_blanking(&self) -> COMP1_BLANKINGR[src]

Bits 18:20 - Comparator 1 blanking source selection bits

pub fn comp1_brgen(&self) -> COMP1_BRGENR[src]

Bit 22 - Scaler bridge enable

pub fn comp1_scalen(&self) -> COMP1_SCALENR[src]

Bit 23 - Voltage scaler enable bit

pub fn comp1_inmesel(&self) -> COMP1_INMESELR[src]

Bits 25:26 - comparator 1 input minus extended selection bits

pub fn comp1_value(&self) -> COMP1_VALUER[src]

Bit 30 - Comparator 1 output status bit

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self