Struct esp32s3::pwm0::timer0_sync::R
source · pub struct R(_);
Expand description
Register TIMER0_SYNC
reader
Implementations
sourceimpl R
impl R
sourcepub fn timer0_synci_en(&self) -> TIMER0_SYNCI_EN_R
pub fn timer0_synci_en(&self) -> TIMER0_SYNCI_EN_R
Bit 0 - When set, timer reloading with phase on sync input event is enabled.
sourcepub fn timer0_synco_sel(&self) -> TIMER0_SYNCO_SEL_R
pub fn timer0_synco_sel(&self) -> TIMER0_SYNCO_SEL_R
Bits 2:3 - PWM timer0 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync
sourcepub fn timer0_phase(&self) -> TIMER0_PHASE_R
pub fn timer0_phase(&self) -> TIMER0_PHASE_R
Bits 4:20 - phase for timer reload on sync event
Methods from Deref<Target = R<TIMER0_SYNC_SPEC>>
Trait Implementations
sourceimpl From<R<TIMER0_SYNC_SPEC>> for R
impl From<R<TIMER0_SYNC_SPEC>> for R
sourcefn from(reader: R<TIMER0_SYNC_SPEC>) -> Self
fn from(reader: R<TIMER0_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