[−][src]Enum stm32l0xx_hal::pac::syscfg::comp2_csr::COMP2INNSELR
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]
fn eq(&self, other: &COMP2INNSELR) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for COMP2INNSELR
[src]
impl Copy for COMP2INNSELR
[src]
impl Clone for COMP2INNSELR
[src]
fn clone(&self) -> COMP2INNSELR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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]
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