[][src]Struct imxrt1062_hal::pwm::Timing

pub struct Timing {
    pub clock_select: ClockSelect,
    pub prescalar: Prescalar,
    pub switching_period: Duration,
}

Specifies the timing-related parameters for a PWM submodule

Fields

clock_select: ClockSelect

The clock selection for the PWM submodule

prescalar: Prescalar

The clock divider for the PWM submodule

switching_period: Duration

The driving (switching) frequency, expressed as a period

Trait Implementations

impl Clone for Timing[src]

impl Copy for Timing[src]

Auto Trait Implementations

impl Send for Timing

impl Sync for Timing

impl Unpin for Timing

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.