pub struct Channel<CN: ChNum, M: ChMode> { /* private fields */ }
Expand description

Timer channel

Implementations

Change channel output mode

Set preload

Trait Implementations

type

binding

Configures pin and channel to create pwm binding

type

binding

Configures pin and channel to create pwm binding

type

binding

Configures pin and channel to create pwm binding

type

binding

Configures pin and channel to create pwm binding

Enable channel

Disable channel

Write value to capture/compare register

Read value of capture/compare register

Read value of Timer’s auto-reload register

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.