[][src]Enum stm32l0xx_hal::pac::syscfg::comp2_csr::COMP2INNSELR

pub enum COMP2INNSELR {
    VREFINT,
    PA2,
    PA4,
    PA5,
    VREFINT_DIV4,
    VREFINT_DIV2,
    VREFINT_DIV3_4,
    PB3,
}

Possible values of the field COMP2INNSEL

Variants

VREFINT

VREFINT

PA2

PA2

PA4

PA4

PA5

PA5

VREFINT_DIV4

1/4 VREFINT

VREFINT_DIV2

1/2 VREFINT

VREFINT_DIV3_4

3/4 VREFINT

PB3

PB3

Methods

impl COMP2INNSELR[src]

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

Value of the field as raw bits

pub fn is_vrefint(&self) -> bool[src]

Checks if the value of the field is VREFINT

pub fn is_pa2(&self) -> bool[src]

Checks if the value of the field is PA2

pub fn is_pa4(&self) -> bool[src]

Checks if the value of the field is PA4

pub fn is_pa5(&self) -> bool[src]

Checks if the value of the field is PA5

pub fn is_vrefint_div4(&self) -> bool[src]

Checks if the value of the field is VREFINT_DIV4

pub fn is_vrefint_div2(&self) -> bool[src]

Checks if the value of the field is VREFINT_DIV2

pub fn is_vrefint_div3_4(&self) -> bool[src]

Checks if the value of the field is VREFINT_DIV3_4

pub fn is_pb3(&self) -> bool[src]

Checks if the value of the field is PB3

Trait Implementations

impl PartialEq<COMP2INNSELR> for COMP2INNSELR[src]

impl Debug for COMP2INNSELR[src]

impl Copy for COMP2INNSELR[src]

impl Clone for COMP2INNSELR[src]

Auto Trait Implementations

Blanket Implementations

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

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, 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