embassy-rp

Crates

0.2.0

Versions

rp2040

Flavors

Module pwm

Source
Expand description

Pulse Width Modulation (PWM)

Structs§

Config
The configuration of a PWM slice. Note the period in clock cycles of a slice can be computed as: (top + 1) * (phase_correct ? 1 : 2) * divider
Pwm
PWM driver.
PwmBatch
Batch representation of PWM slices.

Enums§

InputMode
PWM input mode.

Traits§

ChannelAPin
PWM Channel A.
ChannelBPin
PWM Channel B.
Slice
PWM Slice.