Struct esp32s3::pwm0::timer1_cfg1::W
source · pub struct W(_);
Expand description
Register TIMER1_CFG1
writer
Implementations
sourceimpl W
impl W
sourcepub fn timer1_start(&mut self) -> TIMER1_START_W<'_, 0>
pub fn timer1_start(&mut self) -> TIMER1_START_W<'_, 0>
Bits 0:2 - PWM timer1 start and stop control. 0: if PWM timer1 starts, then stops at TEZ, 1: if timer1 starts, then stops at TEP, 2: PWM timer1 starts and runs on, 3: timer1 starts and stops at the next TEZ, 4: timer1 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period
sourcepub fn timer1_mod(&mut self) -> TIMER1_MOD_W<'_, 3>
pub fn timer1_mod(&mut self) -> TIMER1_MOD_W<'_, 3>
Bits 3:4 - PWM timer1 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode
Methods from Deref<Target = W<TIMER1_CFG1_SPEC>>
Trait Implementations
sourceimpl From<W<TIMER1_CFG1_SPEC>> for W
impl From<W<TIMER1_CFG1_SPEC>> for W
sourcefn from(writer: W<TIMER1_CFG1_SPEC>) -> Self
fn from(writer: W<TIMER1_CFG1_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