Struct esp32s3::pwm0::timer1_cfg0::W
source · pub struct W(_);
Expand description
Register TIMER1_CFG0
writer
Implementations
sourceimpl W
impl W
sourcepub fn timer1_prescale(&mut self) -> TIMER1_PRESCALE_W<'_, 0>
pub fn timer1_prescale(&mut self) -> TIMER1_PRESCALE_W<'_, 0>
Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_timer1_PRESCALE + 1)
sourcepub fn timer1_period(&mut self) -> TIMER1_PERIOD_W<'_, 8>
pub fn timer1_period(&mut self) -> TIMER1_PERIOD_W<'_, 8>
Bits 8:23 - period shadow register of PWM timer1
sourcepub fn timer1_period_upmethod(&mut self) -> TIMER1_PERIOD_UPMETHOD_W<'_, 24>
pub fn timer1_period_upmethod(&mut self) -> TIMER1_PERIOD_UPMETHOD_W<'_, 24>
Bits 24:25 - Update method for active register of PWM timer1 period, 0: immediate, 1: TEZ, 2: sync, 3: TEZ | sync. TEZ here and below means timer equal zero event
Methods from Deref<Target = W<TIMER1_CFG0_SPEC>>
Trait Implementations
sourceimpl From<W<TIMER1_CFG0_SPEC>> for W
impl From<W<TIMER1_CFG0_SPEC>> for W
sourcefn from(writer: W<TIMER1_CFG0_SPEC>) -> Self
fn from(writer: W<TIMER1_CFG0_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