Module esp32c6::mcpwm0

source ·
Expand description

Motor Control Pulse-Width Modulation 0

Re-exports§

  • pub use self::timer::TIMER;
  • pub use self::ch::CH;

Modules§

  • Value of last capture on channel %s
  • Capture channel %s configuration and enable
  • Edge of last capture trigger
  • Configure capture timer
  • Phase for capture timer sync
  • Cluster Cluster CH%s, containing GEN?_STMP_CFG, GEN?_TSTMP_A, GEN?_TSTMP_B, GEN?_CFG0, GEN?_FORCE, GEN?_A, GEN?_B, DT?_CFG, DT?_FED_CFG, DT?_RED_CFG, CARRIER?_CFG, FH?_CFG0, FH?_CFG1, FH?_STATUS
  • MCPWM APB configuration register
  • PWM clock prescaler register.
  • MCPWM event enable register
  • Fault detection configuration and status
  • Interrupt clear bits
  • Interrupt enable bits
  • Raw interrupt status
  • Masked interrupt status
  • Select specific timer for PWM operators.
  • MCPWM task enable register
  • Cluster Cluster TIMER%s, containing TIMER?_CFG0, TIMER?_CFG1, TIMER?_SYNC, TIMER?_STATUS
  • Synchronization input selection for three PWM timers.
  • Enable update.
  • Version register.

Structs§

Type Aliases§

  • CAP_CH (r) register accessor: Value of last capture on channel %s
  • CAP_CH_CFG (rw) register accessor: Capture channel %s configuration and enable
  • CAP_STATUS (r) register accessor: Edge of last capture trigger
  • CAP_TIMER_CFG (rw) register accessor: Configure capture timer
  • CAP_TIMER_PHASE (rw) register accessor: Phase for capture timer sync
  • CLK (rw) register accessor: MCPWM APB configuration register
  • CLK_CFG (rw) register accessor: PWM clock prescaler register.
  • EVT_EN (rw) register accessor: MCPWM event enable register
  • FAULT_DETECT (rw) register accessor: Fault detection configuration and status
  • INT_CLR (w) register accessor: Interrupt clear bits
  • INT_ENA (rw) register accessor: Interrupt enable bits
  • INT_RAW (rw) register accessor: Raw interrupt status
  • INT_ST (r) register accessor: Masked interrupt status
  • OPERATOR_TIMERSEL (rw) register accessor: Select specific timer for PWM operators.
  • TASK_EN (rw) register accessor: MCPWM task enable register
  • TIMER_SYNCI_CFG (rw) register accessor: Synchronization input selection for three PWM timers.
  • UPDATE_CFG (rw) register accessor: Enable update.
  • VERSION (rw) register accessor: Version register.