Module esp32s3_hal::pac::pwm0::timer2_sync
Expand description
PWM timer2 sync function configuration register.
Structs
Register
TIMER2_SYNC
readerPWM timer2 sync function configuration register.
Register
TIMER2_SYNC
writerType Definitions
Field
SW
reader - Toggling this bit will trigger a software sync.Field
SW
writer - Toggling this bit will trigger a software sync.Field
TIMER2_PHASE_DIRECTION
reader - Configure the PWM timer2’s direction when timer2 mode is up-down mode. 0: increase; 1: decrease.Field
TIMER2_PHASE_DIRECTION
writer - Configure the PWM timer2’s direction when timer2 mode is up-down mode. 0: increase; 1: decrease.Field
TIMER2_PHASE
reader - phase for timer reload on sync eventField
TIMER2_PHASE
writer - phase for timer reload on sync eventField
TIMER2_SYNCI_EN
reader - When set, timer reloading with phase on sync input event is enabled.Field
TIMER2_SYNCI_EN
writer - When set, timer reloading with phase on sync input event is enabled.Field
TIMER2_SYNCO_SEL
reader - PWM timer2 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software syncField
TIMER2_SYNCO_SEL
writer - PWM timer2 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync