Module esp32s3::pwm0::timer0_sync

source ·
Expand description

PWM timer0 sync function configuration register.

Structs

Register TIMER0_SYNC reader
PWM timer0 sync function configuration register.
Register TIMER0_SYNC writer

Type Definitions

Field SW reader - Toggling this bit will trigger a software sync.
Field SW writer - Toggling this bit will trigger a software sync.
Field TIMER0_PHASE_DIRECTION reader - Configure the PWM timer0’s direction when timer0 mode is up-down mode. 0: increase; 1: decrease.
Field TIMER0_PHASE_DIRECTION writer - Configure the PWM timer0’s direction when timer0 mode is up-down mode. 0: increase; 1: decrease.
Field TIMER0_PHASE reader - phase for timer reload on sync event
Field TIMER0_PHASE writer - phase for timer reload on sync event
Field TIMER0_SYNCI_EN reader - When set, timer reloading with phase on sync input event is enabled.
Field TIMER0_SYNCI_EN writer - When set, timer reloading with phase on sync input event is enabled.
Field TIMER0_SYNCO_SEL reader - PWM timer0 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync
Field TIMER0_SYNCO_SEL writer - PWM timer0 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync