pub struct Channel<'a, S, O>where
    S: TimerSpeed,
    O: OutputPin,
{ /* private fields */ }
Expand description

Channel struct

Implementations

Return a new channel

Trait Implementations

Channel HW interface for HighSpeed channels

Configure Channel HW except for the duty which is set via Self::set_duty_hw.

Set duty in channel HW

Channel HW interface for LowSpeed channels

Configure Channel HW

Set duty in channel HW

Configure channel

Set duty % of channel

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.