[][src]Enum stm32l0xx_hal::device::adc::cfgr1::EXTSELR

pub enum EXTSELR {
    TIM6_TRGO,
    TIM21_CH2,
    TIM2_TRGO,
    TIM2_CH4,
    TIM22_TRGO,
    TIM2_CH3,
    TIM3_TRGO,
    EXTI_LINE11,
}

Possible values of the field EXTSEL

Variants

TIM6_TRGO

Timer 6 TRGO event

TIM21_CH2

Timer 21 CH2 event

TIM2_TRGO

Timer 2 TRGO event

TIM2_CH4

Timer 2 CH4 event

TIM22_TRGO

Timer 22 TRGO, Timer 21 TRGO event

TIM2_CH3

Timer 2 CH3 event

TIM3_TRGO

Timer 3 TRGO event

EXTI_LINE11

EXTI line 11 event

Methods

impl EXTSELR[src]

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

Value of the field as raw bits

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

Checks if the value of the field is TIM6_TRGO

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

Checks if the value of the field is TIM21_CH2

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

Checks if the value of the field is TIM2_TRGO

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

Checks if the value of the field is TIM2_CH4

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

Checks if the value of the field is TIM22_TRGO

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

Checks if the value of the field is TIM2_CH3

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

Checks if the value of the field is TIM3_TRGO

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

Checks if the value of the field is EXTI_LINE11

Trait Implementations

impl PartialEq<EXTSELR> for EXTSELR[src]

impl Debug for EXTSELR[src]

impl Copy for EXTSELR[src]

impl Clone for EXTSELR[src]

Auto Trait Implementations

impl Unpin for EXTSELR

impl Send for EXTSELR

impl Sync for EXTSELR

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