Module esp32s3_hal::pac::pwm0::timer1_cfg1
Expand description
PWM timer1 working mode and start/stop control configuration register.
Structs
Register
TIMER1_CFG1
readerPWM timer1 working mode and start/stop control configuration register.
Register
TIMER1_CFG1
writerType Definitions
Field
TIMER1_MOD
reader - PWM timer1 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down modeField
TIMER1_MOD
writer - PWM timer1 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down modeField
TIMER1_START
reader - PWM timer1 start and stop control. 0: if PWM timer1 starts, then stops at TEZ, 1: if timer1 starts, then stops at TEP, 2: PWM timer1 starts and runs on, 3: timer1 starts and stops at the next TEZ, 4: timer1 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to periodField
TIMER1_START
writer - PWM timer1 start and stop control. 0: if PWM timer1 starts, then stops at TEZ, 1: if timer1 starts, then stops at TEP, 2: PWM timer1 starts and runs on, 3: timer1 starts and stops at the next TEZ, 4: timer1 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period