esp_hal::mcpwm

Module operator

Source
Available on crate feature unstable only.
Expand description

MCPWM operators

§MCPWM Operator Module

§Overview

The operator is responsible for generating PWM (Pulse Width Modulation) signals and handling various aspects related to PWM signal generation.

§Configuration

This module provides flexibility in configuring the PWM outputs. Its implementation allows for motor control and other applications that demand accurate pulse timing and sophisticated modulation techniques.

Structs§

  • Configuration for MCPWM Operator DeadTime It’s recommended to reference the technical manual for configuration
  • Two pins driven by the same timer and operator
  • A MCPWM operator
  • Settings for what actions should be taken on timing events
  • A pin driven by an MCPWM operator
  • Configuration describing how the operator generates a signal on a connected pin
  • Settings for when PwmPin::set_timestamp takes effect

Enums§

  • Input/Output Stream descriptor for each channel
  • An action the operator applies to an output