Struct lpc55_hal::drivers::pwm::Pwm[][src]

pub struct Pwm<TIMER> where
    TIMER: Ctimer<Enabled>, 
{ /* fields omitted */ }

Implementations

Increase maximum value for the duty cycle.

Trait Implementations

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

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

Type for the duty methods Read more

Enables a PWM channel

Disables a PWM channel

Returns the current PWM period

Sets a new PWM period

Returns the current duty cycle

Returns the maximum duty cycle value

Sets a new duty cycle

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.