Struct esp32s3::pwm0::timer1_sync::W
source · pub struct W(_);
Expand description
Register TIMER1_SYNC
writer
Implementations
sourceimpl 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:20 - phase for timer reload on sync event
Methods from Deref<Target = W<TIMER1_SYNC_SPEC>>
Trait Implementations
sourceimpl From<W<TIMER1_SYNC_SPEC>> for W
impl From<W<TIMER1_SYNC_SPEC>> for W
sourcefn from(writer: W<TIMER1_SYNC_SPEC>) -> Self
fn from(writer: W<TIMER1_SYNC_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more