[][src]Struct stm32l1xx_hal::stm32::TIM2

pub struct TIM2 { /* fields omitted */ }

General-purpose timers

Methods

impl TIM2[src]

pub fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Trait Implementations

impl Deref for TIM2[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for TIM2[src]

impl Pins<TIM2> for PA0<Input<Floating>>[src]

type Channels = Pwm<TIM2, C1>

impl Pins<TIM2> for PA1<Input<Floating>>[src]

type Channels = Pwm<TIM2, C2>

impl Pins<TIM2> for PA2<Input<Floating>>[src]

type Channels = Pwm<TIM2, C3>

impl Pins<TIM2> for PA3<Input<Floating>>[src]

type Channels = Pwm<TIM2, C4>

impl Pins<TIM2> for (PA0<Input<Floating>>, PA1<Input<Floating>>)[src]

type Channels = (Pwm<TIM2, C1>, Pwm<TIM2, C2>)

impl Pins<TIM2> for (PA0<Input<Floating>>, PA1<Input<Floating>>, PA2<Input<Floating>>, PA3<Input<Floating>>)[src]

type Channels = (Pwm<TIM2, C1>, Pwm<TIM2, C2>, Pwm<TIM2, C3>, Pwm<TIM2, C4>)

impl PwmExt for TIM2[src]

impl Pins<TIM2> for (PA0<Input<Floating>>, PA1<Input<Floating>>)[src]

impl<PINS> QeiExt<TIM2, PINS> for TIM2 where
    PINS: Pins<TIM2>, 
[src]

impl TimerExt<TIM2> for TIM2[src]

Auto Trait Implementations

impl Unpin for TIM2

impl !Sync for TIM2

Blanket Implementations

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

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, 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]