Struct esp32s3::pwm0::timer_synci_cfg::W
source · pub struct W(_);
Expand description
Register TIMER_SYNCI_CFG
writer
Implementations§
source§impl W
impl W
sourcepub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W<'_, 0>
pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W<'_, 0>
Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
sourcepub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W<'_, 3>
pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W<'_, 3>
Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
sourcepub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W<'_, 6>
pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W<'_, 6>
Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected
sourcepub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W<'_, 9>
pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W<'_, 9>
Bit 9 - invert SYNC0 from GPIO matrix
sourcepub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W<'_, 10>
pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W<'_, 10>
Bit 10 - invert SYNC1 from GPIO matrix
sourcepub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W<'_, 11>
pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W<'_, 11>
Bit 11 - invert SYNC2 from GPIO matrix