Module esp32h2::mcpwm0::timer0_cfg1

source ·
Expand description

PWM timer0 working mode and start/stop control configuration register.

Structs§

  • PWM timer0 working mode and start/stop control configuration register.

Type Aliases§

  • Register TIMER0_CFG1 reader
  • Field TIMER0_MOD reader - PWM timer0 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode
  • Field TIMER0_MOD writer - PWM timer0 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode
  • Field TIMER0_START reader - PWM timer0 start and stop control. 0: if PWM timer0 starts, then stops at TEZ, 1: if timer0 starts, then stops at TEP, 2: PWM timer0 starts and runs on, 3: timer0 starts and stops at the next TEZ, 4: timer0 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period
  • Field TIMER0_START writer - PWM timer0 start and stop control. 0: if PWM timer0 starts, then stops at TEZ, 1: if timer0 starts, then stops at TEP, 2: PWM timer0 starts and runs on, 3: timer0 starts and stops at the next TEZ, 4: timer0 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period
  • Register TIMER0_CFG1 writer