Struct esp32s3::pwm0::timer1_sync::W
source · pub struct W(_);
Expand description
Register TIMER1_SYNC
writer
Implementations§
source§impl W
impl W
sourcepub fn timer1_synci_en(&mut self) -> TIMER1_SYNCI_EN_W<'_, 0>
pub fn timer1_synci_en(&mut self) -> TIMER1_SYNCI_EN_W<'_, 0>
Bit 0 - When set, timer reloading with phase on sync input event is enabled.
sourcepub fn timer1_synco_sel(&mut self) -> TIMER1_SYNCO_SEL_W<'_, 2>
pub fn timer1_synco_sel(&mut self) -> TIMER1_SYNCO_SEL_W<'_, 2>
Bits 2:3 - PWM timer1 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync
sourcepub fn timer1_phase(&mut self) -> TIMER1_PHASE_W<'_, 4>
pub fn timer1_phase(&mut self) -> TIMER1_PHASE_W<'_, 4>
Bits 4:19 - phase for timer reload on sync event
sourcepub fn timer1_phase_direction(&mut self) -> TIMER1_PHASE_DIRECTION_W<'_, 20>
pub fn timer1_phase_direction(&mut self) -> TIMER1_PHASE_DIRECTION_W<'_, 20>
Bit 20 - Configure the PWM timer1’s direction when timer1 mode is up-down mode. 0: increase; 1: decrease.