Enum alt_stm32f30x_hal::pac::syscfg::cfgr1::ENCODER_MODE_A
source · [−]#[repr(u8)]
pub enum ENCODER_MODE_A {
NOREDIRECTION,
MAPTIM2TIM15,
MAPTIM3TIM15,
MAPTIM4TIM15,
}
Expand description
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
sourceimpl Clone for ENCODER_MODE_A
impl Clone for ENCODER_MODE_A
sourcefn clone(&self) -> ENCODER_MODE_A
fn clone(&self) -> ENCODER_MODE_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ENCODER_MODE_A
impl Debug for ENCODER_MODE_A
sourceimpl PartialEq<ENCODER_MODE_A> for ENCODER_MODE_A
impl PartialEq<ENCODER_MODE_A> for ENCODER_MODE_A
impl Copy for ENCODER_MODE_A
impl StructuralPartialEq for ENCODER_MODE_A
Auto Trait Implementations
impl RefUnwindSafe for ENCODER_MODE_A
impl Send for ENCODER_MODE_A
impl Sync for ENCODER_MODE_A
impl Unpin for ENCODER_MODE_A
impl UnwindSafe for ENCODER_MODE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more