[][src]Struct gemma_m0::pwm::Pwm3

pub struct Pwm3 { /* fields omitted */ }

Methods

impl Pwm3[src]

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

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

pub fn get_period(&self) -> 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

impl !Sync for Pwm3

Blanket Implementations

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self