[−][src]Struct msp430fr2x5x_hal::pwm::PwmParts7
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]
T: Send,
impl<T> Sync for PwmParts7<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for PwmParts7<T> where
T: Unpin,
[src]
T: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,