[][src]Enum stm32f0xx_hal::stm32::adc::cfgr1::EXTSELR

pub enum EXTSELR {
    TIM2_TRGO,
    TIM1_TRGO,
    TIM1_CC4,
    TIM3_TRGO,
    TIM15_TRGO,
    _Reserved(u8),
}

Possible values of the field EXTSEL

Variants

TIM2_TRGO

Timer 2 TRGO event

TIM1_TRGO

Timer 1 TRGO Event

TIM1_CC4

Timer 1 CC4 event

TIM3_TRGO

Timer 3 TRGO event

TIM15_TRGO

Timer 15 TRGO event

_Reserved(u8)

Reserved

Methods

impl EXTSELR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is TIM2_TRGO

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

Checks if the value of the field is TIM1_TRGO

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

Checks if the value of the field is TIM1_CC4

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

Checks if the value of the field is TIM3_TRGO

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

Checks if the value of the field is TIM15_TRGO

Trait Implementations

impl Clone for EXTSELR[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for EXTSELR[src]

impl Debug for EXTSELR[src]

impl PartialEq<EXTSELR> for EXTSELR[src]

Auto Trait Implementations

impl Send for EXTSELR

impl Sync for EXTSELR

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