[][src]Struct stm32f1xx_hal::pwm::Pwm

pub struct Pwm<TIM, REMAP, P, PINS> where
    REMAP: Remap<Periph = TIM>,
    PINS: Pins<REMAP, P>, 
{ /* fields omitted */ }

Implementations

impl<TIM, REMAP, P, PINS> Pwm<TIM, REMAP, P, PINS> where
    REMAP: Remap<Periph = TIM>,
    PINS: Pins<REMAP, P>, 
[src]

pub fn split(self) -> PINS::Channels[src]

Trait Implementations

impl<REMAP, P, PINS> Pwm for Pwm<TIM1, REMAP, P, PINS> where
    REMAP: Remap<Periph = TIM1>,
    PINS: Pins<REMAP, P>, 
[src]

type Channel = Channel

Enumeration of channels that can be used with this Pwm interface Read more

type Duty = u16

Type for the duty methods Read more

type Time = Hertz

A time unit that can be converted into a human time unit (e.g. seconds)

impl<REMAP, P, PINS> Pwm for Pwm<TIM2, REMAP, P, PINS> where
    REMAP: Remap<Periph = TIM2>,
    PINS: Pins<REMAP, P>, 
[src]

type Channel = Channel

Enumeration of channels that can be used with this Pwm interface Read more

type Duty = u16

Type for the duty methods Read more

type Time = Hertz

A time unit that can be converted into a human time unit (e.g. seconds)

impl<REMAP, P, PINS> Pwm for Pwm<TIM3, REMAP, P, PINS> where
    REMAP: Remap<Periph = TIM3>,
    PINS: Pins<REMAP, P>, 
[src]

type Channel = Channel

Enumeration of channels that can be used with this Pwm interface Read more

type Duty = u16

Type for the duty methods Read more

type Time = Hertz

A time unit that can be converted into a human time unit (e.g. seconds)

Auto Trait Implementations

impl<TIM, REMAP, P, PINS> Send for Pwm<TIM, REMAP, P, PINS> where
    P: Send,
    PINS: Send,
    REMAP: Send,
    TIM: Send

impl<TIM, REMAP, P, PINS> Sync for Pwm<TIM, REMAP, P, PINS> where
    P: Sync,
    PINS: Sync,
    REMAP: Sync,
    TIM: Sync

impl<TIM, REMAP, P, PINS> Unpin for Pwm<TIM, REMAP, P, PINS> where
    P: Unpin,
    PINS: Unpin,
    REMAP: Unpin,
    TIM: Unpin

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.