[][src]Struct stm32f7x7_hal::qei::Qei

pub struct Qei<TIM, PINS> { /* fields omitted */ }

Hardware quadrature encoder interface peripheral

Methods

impl<PINS> Qei<TIM1, PINS>[src]

pub fn tim1(tim: TIM1, pins: PINS) -> Self where
    PINS: Pins<TIM1>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM1, PINS)[src]

Releases the TIM peripheral and QEI pins

impl<PINS> Qei<TIM5, PINS>[src]

pub fn tim5(tim: TIM5, pins: PINS) -> Self where
    PINS: Pins<TIM5>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM5, PINS)[src]

Releases the TIM peripheral and QEI pins

impl<PINS> Qei<TIM2, PINS>[src]

pub fn tim2(tim: TIM2, pins: PINS) -> Self where
    PINS: Pins<TIM2>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM2, PINS)[src]

Releases the TIM peripheral and QEI pins

impl<PINS> Qei<TIM3, PINS>[src]

pub fn tim3(tim: TIM3, pins: PINS) -> Self where
    PINS: Pins<TIM3>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM3, PINS)[src]

Releases the TIM peripheral and QEI pins

impl<PINS> Qei<TIM4, PINS>[src]

pub fn tim4(tim: TIM4, pins: PINS) -> Self where
    PINS: Pins<TIM4>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM4, PINS)[src]

Releases the TIM peripheral and QEI pins

impl<PINS> Qei<TIM8, PINS>[src]

pub fn tim8(tim: TIM8, pins: PINS) -> Self where
    PINS: Pins<TIM8>, 
[src]

Configures a TIM peripheral as a quadrature encoder interface input

pub fn release(self) -> (TIM8, PINS)[src]

Releases the TIM peripheral and QEI pins

Trait Implementations

impl<PINS> Qei for Qei<TIM1, PINS>[src]

type Count = u16

The type of the value returned by count

impl<PINS> Qei for Qei<TIM5, PINS>[src]

type Count = u32

The type of the value returned by count

impl<PINS> Qei for Qei<TIM2, PINS>[src]

type Count = u32

The type of the value returned by count

impl<PINS> Qei for Qei<TIM3, PINS>[src]

type Count = u16

The type of the value returned by count

impl<PINS> Qei for Qei<TIM4, PINS>[src]

type Count = u16

The type of the value returned by count

impl<PINS> Qei for Qei<TIM8, PINS>[src]

type Count = u16

The type of the value returned by count

Auto Trait Implementations

impl<TIM, PINS> Send for Qei<TIM, PINS> where
    PINS: Send,
    TIM: Send

impl<TIM, PINS> Sync for Qei<TIM, PINS> where
    PINS: Sync,
    TIM: Sync

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self