[][src]Struct msp430fr2x5x_hal::pwm::PwmParts3

pub struct PwmParts3<T: CapCmpTimer3> {
    pub pwm1: PwmUninit<T, CCR1>,
    pub pwm2: PwmUninit<T, CCR2>,
}

Collection of uninitialized PWM pins derived from timer peripheral with 3 capture-compare registers

Fields

pwm1: PwmUninit<T, CCR1>

PWM pin 1 (derived from capture-compare register 1)

pwm2: PwmUninit<T, CCR2>

PWM pin 2 (derived from capture-compare register 2)

Implementations

impl<T: CapCmpTimer3> PwmParts3<T>[src]

pub fn new(timer: T, config: TimerConfig<T>, period: u16) -> Self[src]

Create uninitialized PWM pins with the same period

Auto Trait Implementations

impl<T> Send for PwmParts3<T> where
    T: Send
[src]

impl<T> Sync for PwmParts3<T> where
    T: Sync
[src]

impl<T> Unpin for PwmParts3<T> where
    T: Unpin
[src]

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