[][src]Struct alt_stm32f30x_hal::pac::comp::comp2_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 comp2en(&self) -> COMP2ENR[src]

Bit 0 - Comparator 2 enable

pub fn comp2inmsel(&self) -> COMP2INMSELR[src]

Bits 4:6 - Comparator 2 inverting input selection

pub fn comp2outsel(&self) -> COMP2OUTSELR[src]

Bits 10:13 - Comparator 2 output selection

pub fn comp2pol(&self) -> COMP2POLR[src]

Bit 15 - Comparator 2 output polarity

pub fn comp2_blanking(&self) -> COMP2_BLANKINGR[src]

Bits 18:20 - Comparator 2 blanking source

pub fn comp2out(&self) -> COMP2OUTR[src]

Bit 30 - Comparator 2 output

pub fn comp2lock(&self) -> COMP2LOCKR[src]

Bit 31 - Comparator 2 lock

pub fn comp2mode(&self) -> COMP2MODER[src]

Bits 2:3 - Comparator 2 mode

pub fn comp2inpsel(&self) -> COMP2INPSELR[src]

Bit 7 - Comparator 2 non inverted input

pub fn comp2winmode(&self) -> COMP2WINMODER[src]

Bit 9 - Comparator 2 window mode

pub fn comp2hyst(&self) -> COMP2HYSTR[src]

Bits 16:17 - Comparator 2 hysteresis

pub fn comp2inmsel3(&self) -> COMP2INMSEL3R[src]

Bit 22 - Comparator 2 inverting input selection

Auto Trait Implementations

impl Unpin for R

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self