Struct esp32h2::mcpwm0::timer_synci_cfg::R
source · pub struct R(_);
Expand description
Register TIMER_SYNCI_CFG
reader
Implementations§
source§impl R
impl R
sourcepub fn timer0_syncisel(&self) -> TIMER0_SYNCISEL_R
pub fn timer0_syncisel(&self) -> TIMER0_SYNCISEL_R
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(&self) -> TIMER1_SYNCISEL_R
pub fn timer1_syncisel(&self) -> TIMER1_SYNCISEL_R
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(&self) -> TIMER2_SYNCISEL_R
pub fn timer2_syncisel(&self) -> TIMER2_SYNCISEL_R
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(&self) -> EXTERNAL_SYNCI0_INVERT_R
pub fn external_synci0_invert(&self) -> EXTERNAL_SYNCI0_INVERT_R
Bit 9 - invert SYNC0 from GPIO matrix
sourcepub fn external_synci1_invert(&self) -> EXTERNAL_SYNCI1_INVERT_R
pub fn external_synci1_invert(&self) -> EXTERNAL_SYNCI1_INVERT_R
Bit 10 - invert SYNC1 from GPIO matrix
sourcepub fn external_synci2_invert(&self) -> EXTERNAL_SYNCI2_INVERT_R
pub fn external_synci2_invert(&self) -> EXTERNAL_SYNCI2_INVERT_R
Bit 11 - invert SYNC2 from GPIO matrix