Type Alias esp32::mcpwm0::timer1_sync::W
source · pub type W = W<TIMER1_SYNC_SPEC>;
Expand description
Register TIMER1_SYNC
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn timer1_synci_en(&mut self) -> TIMER1_SYNCI_EN_W<'_, TIMER1_SYNC_SPEC>
pub fn timer1_synci_en(&mut self) -> TIMER1_SYNCI_EN_W<'_, TIMER1_SYNC_SPEC>
Bit 0
sourcepub fn sw(&mut self) -> SW_W<'_, TIMER1_SYNC_SPEC>
pub fn sw(&mut self) -> SW_W<'_, TIMER1_SYNC_SPEC>
Bit 1
sourcepub fn timer1_synco_sel(&mut self) -> TIMER1_SYNCO_SEL_W<'_, TIMER1_SYNC_SPEC>
pub fn timer1_synco_sel(&mut self) -> TIMER1_SYNCO_SEL_W<'_, TIMER1_SYNC_SPEC>
Bits 2:3
sourcepub fn timer1_phase(&mut self) -> TIMER1_PHASE_W<'_, TIMER1_SYNC_SPEC>
pub fn timer1_phase(&mut self) -> TIMER1_PHASE_W<'_, TIMER1_SYNC_SPEC>
Bits 4:19
sourcepub fn timer1_phase_direction(
&mut self
) -> TIMER1_PHASE_DIRECTION_W<'_, TIMER1_SYNC_SPEC>
pub fn timer1_phase_direction( &mut self ) -> TIMER1_PHASE_DIRECTION_W<'_, TIMER1_SYNC_SPEC>
Bit 20