Struct lpc55_hal::drivers::pwm::Pwm [−][src]
Implementations
Trait Implementations
impl<TIMER> Pwm for Pwm<TIMER> where
TIMER: Ctimer<Enabled>,
[src]
impl<TIMER> Pwm for Pwm<TIMER> where
TIMER: Ctimer<Enabled>,
[src]type Channel = u8
Enumeration of channels that can be used with this Pwm
interface Read more
type Time = Microseconds
A time unit that can be converted into a human time unit (e.g. seconds)
type Duty = u16
Type for the duty
methods Read more
fn enable(&mut self, channel: Self::Channel)
[src]
fn disable(&mut self, channel: Self::Channel)
[src]
fn get_period(&self) -> Self::Time
[src]
fn set_period<P>(&mut self, _period: P) where
P: Into<Self::Time>,
[src]
P: Into<Self::Time>,