#[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 (STM32F302xB/C 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 From<ENCODER_MODE_A> for u8
impl From<ENCODER_MODE_A> for u8
sourcefn from(variant: ENCODER_MODE_A) -> Self
fn from(variant: ENCODER_MODE_A) -> Self
Converts to this type from the input type.
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