[−][src]Struct stm32f103xx_hal::qei::Qei
Methods
impl<PINS> Qei<TIM2, PINS>
[src]
pub fn tim2(tim: TIM2, pins: PINS, mapr: &mut MAPR, apb: &mut APB1) -> Self where
PINS: Pins<TIM2>,
[src]
PINS: Pins<TIM2>,
impl<PINS> Qei<TIM3, PINS>
[src]
pub fn tim3(tim: TIM3, pins: PINS, mapr: &mut MAPR, apb: &mut APB1) -> Self where
PINS: Pins<TIM3>,
[src]
PINS: Pins<TIM3>,
impl<PINS> Qei<TIM4, PINS>
[src]
pub fn tim4(tim: TIM4, pins: PINS, mapr: &mut MAPR, apb: &mut APB1) -> Self where
PINS: Pins<TIM4>,
[src]
PINS: Pins<TIM4>,
impl<PINS> Qei<TIM2, PINS>
[src]
impl<PINS> Qei<TIM3, PINS>
[src]
impl<PINS> Qei<TIM4, PINS>
[src]
Trait Implementations
impl<PINS> Qei for Qei<TIM2, PINS>
[src]
type Count = u16
The type of the value returned by count
fn count(&self) -> u16
[src]
fn direction(&self) -> Direction
[src]
impl<PINS> Qei for Qei<TIM3, PINS>
[src]
type Count = u16
The type of the value returned by count
fn count(&self) -> u16
[src]
fn direction(&self) -> Direction
[src]
impl<PINS> Qei for Qei<TIM4, PINS>
[src]
Auto Trait Implementations
impl<TIM, PINS> Send for Qei<TIM, PINS> where
PINS: Send,
TIM: Send,
PINS: Send,
TIM: Send,
impl<TIM, PINS> Sync for Qei<TIM, PINS> where
PINS: Sync,
TIM: Sync,
PINS: Sync,
TIM: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,