Module esp32s3::mcpwm0

source ·
Expand description

Motor Control Pulse-Width Modulation 0

Modules

  • Value of last capture on channel 0
  • Capture channel 0 configuration and enable
  • Value of last capture on channel 1
  • Capture channel 1 configuration and enable
  • Value of last capture on channel 2
  • Capture channel 2 configuration and enable
  • Edge of last capture trigger
  • Configure capture timer
  • Phase for capture timer sync
  • Carrier enable and configuratoin
  • Carrier enable and configuratoin
  • Carrier enable and configuratoin
  • MCPWM APB configuration register
  • PWM clock prescaler register.
  • Transfer status and update method for time stamp registers A and B
  • Shadow register for register A.
  • Shadow register for register B.
  • Transfer status and update method for time stamp registers A and B
  • Shadow register for register A.
  • Shadow register for register B.
  • Transfer status and update method for time stamp registers A and B
  • Shadow register for register A.
  • Shadow register for register B.
  • dead time type selection and configuration
  • Shadow register for falling edge delay (FED).
  • Shadow register for rising edge delay (RED).
  • dead time type selection and configuration
  • Shadow register for falling edge delay (FED).
  • Shadow register for rising edge delay (RED).
  • dead time type selection and configuration
  • Shadow register for falling edge delay (FED).
  • Shadow register for rising edge delay (RED).
  • Fault detection configuration and status
  • Actions triggered by events on PWM0A
  • Actions triggered by events on PWM0B
  • Fault event T0 and T1 handling
  • Permissives to force PWM0A and PWM0B outputs by software
  • Actions triggered by events on PWM1A
  • Actions triggered by events on PWM1B
  • Fault event T0 and T1 handling
  • Permissives to force PWM1A and PWM1B outputs by software
  • Actions triggered by events on PWM2A
  • Actions triggered by events on PWM2B
  • Fault event T0 and T1 handling
  • Permissives to force PWM2A and PWM2B outputs by software
  • Interrupt clear bits
  • Interrupt enable bits
  • Raw interrupt status
  • Masked interrupt status
  • Select specific timer for PWM operators.
  • PWM timer0 period and update method configuration register.
  • PWM timer0 working mode and start/stop control configuration register.
  • PWM timer0 status register.
  • PWM timer0 sync function configuration register.
  • PWM timer1 period and update method configuration register.
  • PWM timer1 working mode and start/stop control configuration register.
  • PWM timer1 status register.
  • PWM timer1 sync function configuration register.
  • PWM timer2 period and update method configuration register.
  • PWM timer2 working mode and start/stop control configuration register.
  • PWM timer2 status register.
  • PWM timer2 sync function configuration register.
  • Synchronization input selection for three PWM timers.
  • Actions on PWM0A and PWM0B trip events
  • Software triggers for fault handler actions
  • Status of fault events.
  • Actions on PWM1A and PWM1B trip events
  • Software triggers for fault handler actions
  • Status of fault events.
  • Actions on PWM2A and PWM2B trip events
  • Software triggers for fault handler actions
  • Status of fault events.
  • Enable update.
  • Version register.

Structs

Type Aliases

  • CAP_CH0 (r) register accessor: Value of last capture on channel 0
  • CAP_CH0_CFG (rw) register accessor: Capture channel 0 configuration and enable
  • CAP_CH1 (r) register accessor: Value of last capture on channel 1
  • CAP_CH1_CFG (rw) register accessor: Capture channel 1 configuration and enable
  • CAP_CH2 (r) register accessor: Value of last capture on channel 2
  • CAP_CH2_CFG (rw) register accessor: Capture channel 2 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
  • CHOPPER0_CFG (rw) register accessor: Carrier enable and configuratoin
  • CHOPPER1_CFG (rw) register accessor: Carrier enable and configuratoin
  • CHOPPER2_CFG (rw) register accessor: Carrier enable and configuratoin
  • CLK (rw) register accessor: MCPWM APB configuration register
  • CLK_CFG (rw) register accessor: PWM clock prescaler register.
  • CMPR0_CFG (rw) register accessor: Transfer status and update method for time stamp registers A and B
  • CMPR0_VALUE0 (rw) register accessor: Shadow register for register A.
  • CMPR0_VALUE1 (rw) register accessor: Shadow register for register B.
  • CMPR1_CFG (rw) register accessor: Transfer status and update method for time stamp registers A and B
  • CMPR1_VALUE0 (rw) register accessor: Shadow register for register A.
  • CMPR1_VALUE1 (rw) register accessor: Shadow register for register B.
  • CMPR2_CFG (rw) register accessor: Transfer status and update method for time stamp registers A and B
  • CMPR2_VALUE0 (rw) register accessor: Shadow register for register A.
  • CMPR2_VALUE1 (rw) register accessor: Shadow register for register B.
  • DB0_CFG (rw) register accessor: dead time type selection and configuration
  • DB0_FED_CFG (rw) register accessor: Shadow register for falling edge delay (FED).
  • DB0_RED_CFG (rw) register accessor: Shadow register for rising edge delay (RED).
  • DB1_CFG (rw) register accessor: dead time type selection and configuration
  • DB1_FED_CFG (rw) register accessor: Shadow register for falling edge delay (FED).
  • DB1_RED_CFG (rw) register accessor: Shadow register for rising edge delay (RED).
  • DB2_CFG (rw) register accessor: dead time type selection and configuration
  • DB2_FED_CFG (rw) register accessor: Shadow register for falling edge delay (FED).
  • DB2_RED_CFG (rw) register accessor: Shadow register for rising edge delay (RED).
  • FAULT_DETECT (rw) register accessor: Fault detection configuration and status
  • GEN0_A (rw) register accessor: Actions triggered by events on PWM0A
  • GEN0_B (rw) register accessor: Actions triggered by events on PWM0B
  • GEN0_CFG0 (rw) register accessor: Fault event T0 and T1 handling
  • GEN0_FORCE (rw) register accessor: Permissives to force PWM0A and PWM0B outputs by software
  • GEN1_A (rw) register accessor: Actions triggered by events on PWM1A
  • GEN1_B (rw) register accessor: Actions triggered by events on PWM1B
  • GEN1_CFG0 (rw) register accessor: Fault event T0 and T1 handling
  • GEN1_FORCE (rw) register accessor: Permissives to force PWM1A and PWM1B outputs by software
  • GEN2_A (rw) register accessor: Actions triggered by events on PWM2A
  • GEN2_B (rw) register accessor: Actions triggered by events on PWM2B
  • GEN2_CFG0 (rw) register accessor: Fault event T0 and T1 handling
  • GEN2_FORCE (rw) register accessor: Permissives to force PWM2A and PWM2B outputs by software
  • 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.
  • TIMER0_CFG0 (rw) register accessor: PWM timer0 period and update method configuration register.
  • TIMER0_CFG1 (rw) register accessor: PWM timer0 working mode and start/stop control configuration register.
  • TIMER0_STATUS (r) register accessor: PWM timer0 status register.
  • TIMER0_SYNC (rw) register accessor: PWM timer0 sync function configuration register.
  • TIMER1_CFG0 (rw) register accessor: PWM timer1 period and update method configuration register.
  • TIMER1_CFG1 (rw) register accessor: PWM timer1 working mode and start/stop control configuration register.
  • TIMER1_STATUS (r) register accessor: PWM timer1 status register.
  • TIMER1_SYNC (rw) register accessor: PWM timer1 sync function configuration register.
  • TIMER2_CFG0 (rw) register accessor: PWM timer2 period and update method configuration register.
  • TIMER2_CFG1 (rw) register accessor: PWM timer2 working mode and start/stop control configuration register.
  • TIMER2_STATUS (r) register accessor: PWM timer2 status register.
  • TIMER2_SYNC (rw) register accessor: PWM timer2 sync function configuration register.
  • TIMER_SYNCI_CFG (rw) register accessor: Synchronization input selection for three PWM timers.
  • TZ0_CFG0 (rw) register accessor: Actions on PWM0A and PWM0B trip events
  • TZ0_CFG1 (rw) register accessor: Software triggers for fault handler actions
  • TZ0_STATUS (r) register accessor: Status of fault events.
  • TZ1_CFG0 (rw) register accessor: Actions on PWM1A and PWM1B trip events
  • TZ1_CFG1 (rw) register accessor: Software triggers for fault handler actions
  • TZ1_STATUS (r) register accessor: Status of fault events.
  • TZ2_CFG0 (rw) register accessor: Actions on PWM2A and PWM2B trip events
  • TZ2_CFG1 (rw) register accessor: Software triggers for fault handler actions
  • TZ2_STATUS (r) register accessor: Status of fault events.
  • UPDATE_CFG (rw) register accessor: Enable update.
  • VERSION (rw) register accessor: Version register.