[][src]Enum stm32f3xx_hal_v2::pac::syscfg::cfgr1::ENCODER_MODE_A

#[repr(u8)]pub enum ENCODER_MODE_A {
    NOREDIRECTION,
    MAPTIM2TIM15,
    MAPTIM3TIM15,
    MAPTIM4TIM15,
}

Encoder mode

Value on reset: 0

Variants

NOREDIRECTION

0: No redirection

MAPTIM2TIM15

1: TIM2 IC1 and TIM2 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively

MAPTIM3TIM15

2: TIM3 IC1 and TIM3 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively

MAPTIM4TIM15

3: TIM4 IC1 and TIM4 IC2 are connected to TIM15 IC1 and TIM15 IC2 respectively (STM32F303xB/C and STM32F358xC devices only)

Trait Implementations

impl Clone for ENCODER_MODE_A[src]

impl Copy for ENCODER_MODE_A[src]

impl Debug for ENCODER_MODE_A[src]

impl PartialEq<ENCODER_MODE_A> for ENCODER_MODE_A[src]

impl StructuralPartialEq for ENCODER_MODE_A[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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> 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.