[][src]Struct trellis_m4::pwm::Pwm3

pub struct Pwm3 { /* fields omitted */ }

Implementations

impl Pwm3[src]

pub fn new<F>(
    clock: &Tc2Tc3Clock,
    freq: F,
    tc: TC3,
    pinout: TC3Pinout,
    mclk: &mut MCLK
) -> Pwm3 where
    F: Into<Hertz>, 
[src]

pub fn get_period(&self) -> Hertz[src]

pub fn set_period<P>(&mut self, period: P) where
    P: Into<Hertz>, 
[src]

Trait Implementations

impl PwmPin for Pwm3[src]

type Duty = u16

Type for the duty methods Read more

Auto Trait Implementations

impl Send for Pwm3[src]

impl !Sync for Pwm3[src]

impl Unpin for Pwm3[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> 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.