Struct imxrt_hal::pwm::Submodule[][src]

pub struct Submodule<M, S> { /* fields omitted */ }
Expand description

A PWM submodule

A submodule may be consumed to create PWM pin instances

Implementations

Converts two pins into PWM outputs. Returns a Pins type that wraps the underlying pins.

The input pins must support PWM functionality. They must match the module that they’re associated, and they must have the same submodule.

Requires a mutable reference to a Handle in order to modify registers that are shared across all PWM submodules.s

Converts two pins into PWM outputs. Returns a Pins type that wraps the underlying pins.

The input pins must support PWM functionality. They must match the module that they’re associated, and they must have the same submodule.

Requires a mutable reference to a Handle in order to modify registers that are shared across all PWM submodules.s

Converts two pins into PWM outputs. Returns a Pins type that wraps the underlying pins.

The input pins must support PWM functionality. They must match the module that they’re associated, and they must have the same submodule.

Requires a mutable reference to a Handle in order to modify registers that are shared across all PWM submodules.s

Converts two pins into PWM outputs. Returns a Pins type that wraps the underlying pins.

The input pins must support PWM functionality. They must match the module that they’re associated, and they must have the same submodule.

Requires a mutable reference to a Handle in order to modify registers that are shared across all PWM submodules.s

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.