[][src]Enum stm32f3xx_hal_v2::stm32::tim3::cr1::CMS_A

#[repr(u8)]pub enum CMS_A {
    EDGEALIGNED,
    CENTERALIGNED1,
    CENTERALIGNED2,
    CENTERALIGNED3,
}

Center-aligned mode selection

Value on reset: 0

Variants

EDGEALIGNED

0: The counter counts up or down depending on the direction bit

CENTERALIGNED1

1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.

CENTERALIGNED2

2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.

CENTERALIGNED3

3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.

Trait Implementations

impl Clone for CMS_A[src]

impl Copy for CMS_A[src]

impl Debug for CMS_A[src]

impl PartialEq<CMS_A> for CMS_A[src]

impl StructuralPartialEq for CMS_A[src]

Auto Trait Implementations

impl Send for CMS_A[src]

impl Sync for CMS_A[src]

impl Unpin for CMS_A[src]

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.