[−][src]Enum stm32f0::stm32f0x2::comp::csr::COMP2INSELR
Possible values of the field COMP2INSEL
Variants
ONEQUARTERVREF
1/4 of VRefint
ONEHALFVREF
1/2 of VRefint
THREEQUARTERVREF
3/4 of VRefint
VREF
VRefint
COMP2_INM4
COMP1_INM4 (PA4 with DAC_OUT1 if enabled)
COMP2_INM5
COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)
COMP2_INM6
COMP1_INM6 (PA2)
_Reserved(u8)
Reserved
Methods
impl COMP2INSELR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_one_quarter_vref(&self) -> bool
[src]
Checks if the value of the field is ONEQUARTERVREF
pub fn is_one_half_vref(&self) -> bool
[src]
Checks if the value of the field is ONEHALFVREF
pub fn is_three_quarter_vref(&self) -> bool
[src]
Checks if the value of the field is THREEQUARTERVREF
pub fn is_vref(&self) -> bool
[src]
Checks if the value of the field is VREF
pub fn is_comp2_inm4(&self) -> bool
[src]
Checks if the value of the field is COMP2_INM4
pub fn is_comp2_inm5(&self) -> bool
[src]
Checks if the value of the field is COMP2_INM5
pub fn is_comp2_inm6(&self) -> bool
[src]
Checks if the value of the field is COMP2_INM6
Trait Implementations
impl Copy for COMP2INSELR
[src]
impl Debug for COMP2INSELR
[src]
impl PartialEq<COMP2INSELR> for COMP2INSELR
[src]
fn eq(&self, other: &COMP2INSELR) -> bool
[src]
fn ne(&self, other: &COMP2INSELR) -> bool
[src]
impl Clone for COMP2INSELR
[src]
fn clone(&self) -> COMP2INSELR
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for COMP2INSELR
impl Sync for COMP2INSELR
Blanket Implementations
impl<T, U> TryFrom 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> From for T
[src]
impl<T, U> TryInto 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, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut 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 for T
type Output = T
Should always be Self