Trait Pins

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

    const C1: bool = false;
    const C2: bool = false;
    const C3: bool = false;
    const C4: bool = false;
}

Provided Associated Constants§

Source

const C1: bool = false

Source

const C2: bool = false

Source

const C3: bool = false

Source

const C4: bool = false

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

const C1: bool = true

Source§

const C2: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C2: bool = true

Source§

const C3: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C2: bool = true

Source§

const C3: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C2: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C3: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C3: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C1: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C2: bool = true

Source§

const C3: bool = true

Source§

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

Source§

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

Source§

const C2: bool = true

Source§

const C3: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C2: bool = true

Source§

const C4: bool = true

Source§

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

Source§

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

Source§

const C3: bool = true

Source§

const C4: bool = true

Source§

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

Implementors§

Source§

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

Source§

const C1: bool = true

Source§

type Channels = PwmChannels<TIM, C1>

Source§

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

Source§

const C2: bool = true

Source§

type Channels = PwmChannels<TIM, C2>

Source§

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

Source§

const C3: bool = true

Source§

type Channels = PwmChannels<TIM, C3>

Source§

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

Source§

const C4: bool = true

Source§

type Channels = PwmChannels<TIM, C4>