[][src]Struct trellis_m4::pwm::Tcc2Pwm

pub struct Tcc2Pwm { /* fields omitted */ }

Implementations

impl Tcc2Pwm[src]

pub fn new<F>(
    clock: &Tcc2Tcc3Clock,
    freq: F,
    tcc: TCC2,
    pinout: TCC2Pinout,
    mclk: &mut MCLK
) -> Tcc2Pwm where
    F: Into<Hertz>, 
[src]

Trait Implementations

impl Pwm for Tcc2Pwm[src]

type Channel = Channel

Enumeration of channels that can be used with this Pwm interface Read more

type Time = Hertz

A time unit that can be converted into a human time unit (e.g. seconds)

type Duty = u32

Type for the duty methods Read more

Auto Trait Implementations

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.