[−][src]Enum stm32f0::stm32f0x8::comp::csr::COMP1INSELR
Possible values of the field COMP1INSEL
Variants
ONEQUARTERVREF1/4 of VRefint
ONEHALFVREF1/2 of VRefint
THREEQUARTERVREF3/4 of VRefint
VREFVRefint
COMP1_INM4COMP1_INM4 (PA4 with DAC_OUT1 if enabled)
COMP1_INM5COMP1_INM5 (PA5 with DAC_OUT2 if present and enabled)
COMP1_INM6COMP1_INM6 (PA0)
_Reserved(u8)Reserved
Methods
impl COMP1INSELR[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_comp1_inm4(&self) -> bool[src]
Checks if the value of the field is COMP1_INM4
pub fn is_comp1_inm5(&self) -> bool[src]
Checks if the value of the field is COMP1_INM5
pub fn is_comp1_inm6(&self) -> bool[src]
Checks if the value of the field is COMP1_INM6
Trait Implementations
impl Copy for COMP1INSELR[src]
impl Debug for COMP1INSELR[src]
impl PartialEq<COMP1INSELR> for COMP1INSELR[src]
fn eq(&self, other: &COMP1INSELR) -> bool[src]
fn ne(&self, other: &COMP1INSELR) -> bool[src]
impl Clone for COMP1INSELR[src]
fn clone(&self) -> COMP1INSELR[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 COMP1INSELR
impl Sync for COMP1INSELR
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