Trait stm32f407g_disc::pwm::Pins[][src]

pub trait Pins<TIM, P> {
    type Channels;

    pub const C1: bool;
    pub const C2: bool;
    pub const C3: bool;
    pub const C4: bool;
}

Associated Types

Loading content...

Associated Constants

pub const C1: bool[src]

pub const C2: bool[src]

pub const C3: bool[src]

pub const C4: bool[src]

Loading content...

Implementors

impl<TIM, P1> Pins<TIM, C1> for P1 where
    P1: PinC1<TIM>, 
[src]

type Channels = PwmChannels<TIM, C1>

impl<TIM, P1, P2> Pins<TIM, (C1, C2)> for (P1, P2) where
    P1: PinC1<TIM>,
    P2: PinC2<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C2>)

impl<TIM, P1, P2, P3> Pins<TIM, (C1, C2, C3)> for (P1, P2, P3) where
    P1: PinC1<TIM>,
    P2: PinC2<TIM>,
    P3: PinC3<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C2>, PwmChannels<TIM, C3>)

impl<TIM, P1, P2, P3, P4> Pins<TIM, (C1, C2, C3, C4)> for (P1, P2, P3, P4) where
    P1: PinC1<TIM>,
    P2: PinC2<TIM>,
    P3: PinC3<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C2>, PwmChannels<TIM, C3>, PwmChannels<TIM, C4>)

impl<TIM, P1, P2, P4> Pins<TIM, (C1, C2, C4)> for (P1, P2, P4) where
    P1: PinC1<TIM>,
    P2: PinC2<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C2>, PwmChannels<TIM, C4>)

impl<TIM, P1, P3> Pins<TIM, (C1, C3)> for (P1, P3) where
    P1: PinC1<TIM>,
    P3: PinC3<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C3>)

impl<TIM, P1, P3, P4> Pins<TIM, (C1, C3, C4)> for (P1, P3, P4) where
    P1: PinC1<TIM>,
    P3: PinC3<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C3>, PwmChannels<TIM, C4>)

impl<TIM, P1, P4> Pins<TIM, (C1, C4)> for (P1, P4) where
    P1: PinC1<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C1>, PwmChannels<TIM, C4>)

impl<TIM, P2> Pins<TIM, C2> for P2 where
    P2: PinC2<TIM>, 
[src]

type Channels = PwmChannels<TIM, C2>

impl<TIM, P2, P3> Pins<TIM, (C2, C3)> for (P2, P3) where
    P2: PinC2<TIM>,
    P3: PinC3<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C2>, PwmChannels<TIM, C3>)

impl<TIM, P2, P3, P4> Pins<TIM, (C2, C3, C4)> for (P2, P3, P4) where
    P2: PinC2<TIM>,
    P3: PinC3<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C2>, PwmChannels<TIM, C3>, PwmChannels<TIM, C4>)

impl<TIM, P2, P4> Pins<TIM, (C2, C4)> for (P2, P4) where
    P2: PinC2<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C2>, PwmChannels<TIM, C4>)

impl<TIM, P3> Pins<TIM, C3> for P3 where
    P3: PinC3<TIM>, 
[src]

type Channels = PwmChannels<TIM, C3>

impl<TIM, P3, P4> Pins<TIM, (C3, C4)> for (P3, P4) where
    P3: PinC3<TIM>,
    P4: PinC4<TIM>, 
[src]

type Channels = (PwmChannels<TIM, C3>, PwmChannels<TIM, C4>)

impl<TIM, P4> Pins<TIM, C4> for P4 where
    P4: PinC4<TIM>, 
[src]

type Channels = PwmChannels<TIM, C4>

Loading content...