[][src]Struct stm32g0xx_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 Send for TIM2[src]

impl Deref for TIM2[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Pins<TIM2> for PA0<DefaultMode>[src]

type Channel = Pwm<TIM2, C1>

impl Pins<TIM2> for PA5<DefaultMode>[src]

type Channel = Pwm<TIM2, C1>

impl Pins<TIM2> for PA15<DefaultMode>[src]

type Channel = Pwm<TIM2, C1>

impl Pins<TIM2> for PC4<DefaultMode>[src]

type Channel = Pwm<TIM2, C1>

impl Pins<TIM2> for PA1<DefaultMode>[src]

type Channel = Pwm<TIM2, C2>

impl Pins<TIM2> for PB3<DefaultMode>[src]

type Channel = Pwm<TIM2, C2>

impl Pins<TIM2> for PC5<DefaultMode>[src]

type Channel = Pwm<TIM2, C2>

impl Pins<TIM2> for PA2<DefaultMode>[src]

type Channel = Pwm<TIM2, C3>

impl Pins<TIM2> for PB10<DefaultMode>[src]

type Channel = Pwm<TIM2, C3>

impl Pins<TIM2> for PA3<DefaultMode>[src]

type Channel = Pwm<TIM2, C4>

impl Pins<TIM2> for PB11<DefaultMode>[src]

type Channel = Pwm<TIM2, C4>

impl Pins<TIM2> for PC7<DefaultMode>[src]

type Channel = Pwm<TIM2, C4>

impl PwmExt for TIM2[src]

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

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

impl StopwatchExt for TIM2[src]

impl TimerExt<TIM2> for TIM2[src]

Auto Trait Implementations

impl !Sync for TIM2

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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