[][src]Struct imxrt_hal::pwm::Pins

pub struct Pins<A, B> { /* fields omitted */ }

A pair of submodule PWM pins

When taken in a Controller, you may configure the PWM outputs

Implementations

impl<A, B> Pins<A, B> where
    A: Pin<Output = A>,
    B: Pin<Output = B, Module = <A as Pin>::Module, Submodule = <A as Pin>::Submodule>, 
[src]

pub fn control<'a, D>(
    &'a mut self,
    handle: D
) -> Controller<'_, A, B, D, <A as Pin>::Submodule> where
    D: 'a + DerefMut<Target = Handle<<A as Pin>::Module>>, 
[src]

Provides control of PWM pins

Supply a type that provides mutable access to the PWM handle. The handle is required to modify peripheral-wide registers for safe manipulation.

Auto Trait Implementations

impl<A, B> Send for Pins<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Pins<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for Pins<A, B> where
    A: Unpin,
    B: 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.