pub enum TSEL2R {
    TIM6_TRGO,
    TIM8_TRGO,
    TIM7_TRGO,
    TIM5_TRGO,
    TIM2_TRGO,
    TIM4_TRGO,
    EXTI9,
    SOFTWARE,
}
Expand description

Possible values of the field TSEL2

Variants§

§

TIM6_TRGO

Timer 6 TRGO event

§

TIM8_TRGO

Timer 8 TRGO event

§

TIM7_TRGO

Timer 7 TRGO event

§

TIM5_TRGO

Timer 5 TRGO event

§

TIM2_TRGO

Timer 2 TRGO event

§

TIM4_TRGO

Timer 4 TRGO event

§

EXTI9

EXTI line9

§

SOFTWARE

Software trigger

Implementations§

Value of the field as raw bits

Checks if the value of the field is TIM6_TRGO

Checks if the value of the field is TIM8_TRGO

Checks if the value of the field is TIM7_TRGO

Checks if the value of the field is TIM5_TRGO

Checks if the value of the field is TIM2_TRGO

Checks if the value of the field is TIM4_TRGO

Checks if the value of the field is EXTI9

Checks if the value of the field is SOFTWARE

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.