[][src]Struct msp430fr2x5x_hal::pwm::PwmParts7

pub struct PwmParts7<T: CapCmpTimer7> {
    pub pwm1: PwmUninit<T, CCR1>,
    pub pwm2: PwmUninit<T, CCR2>,
    pub pwm3: PwmUninit<T, CCR3>,
    pub pwm4: PwmUninit<T, CCR4>,
    pub pwm5: PwmUninit<T, CCR5>,
    pub pwm6: PwmUninit<T, CCR6>,
}

Collection of uninitialized PWM pins derived from timer peripheral with 7 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)

pwm3: PwmUninit<T, CCR3>

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

pwm4: PwmUninit<T, CCR4>

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

pwm5: PwmUninit<T, CCR5>

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

pwm6: PwmUninit<T, CCR6>

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

Implementations

impl<T: CapCmpTimer7> PwmParts7<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 PwmParts7<T> where
    T: Send
[src]

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

impl<T> Unpin for PwmParts7<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.