embassy-nrf

Crates

git

Versions

nrf9160-ns

Flavors

embassy_nrf

Module pwm

Source
Expand description

Pulse Width Modulation (PWM) driver.

Structs§

  • Configuration for the PWM as a whole.
  • A composition of a sequence buffer and its configuration.
  • Configuration per sequence
  • SequencePwm allows you to offload the updating of a sequence of duty cycles to up to four channels, as well as repeat that sequence n times.
  • A composition of sequences that can be started and stopped. Takes at least one sequence along with its configuration. Optionally takes a second sequence and its configuration. In the case where no second sequence is provided then the first sequence is used.
  • SimplePwm is the traditional pwm interface you’re probably used to, allowing to simply set a duty cycle across up to four channels.
  • A single sequence that can be started and stopped. Takes one sequence along with its configuration.

Enums§

Constants§

Traits§