pub struct W(_);
Expand description
Register GEN0_CFG0
writer
Implementations
sourceimpl W
impl W
sourcepub fn gen0_cfg_upmethod(&mut self) -> GEN0_CFG_UPMETHOD_W<'_, 0>
pub fn gen0_cfg_upmethod(&mut self) -> GEN0_CFG_UPMETHOD_W<'_, 0>
Bits 0:3 - Update method for PWM generator 0’s active register of configuration. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1:
sourcepub fn gen0_t0_sel(&mut self) -> GEN0_T0_SEL_W<'_, 4>
pub fn gen0_t0_sel(&mut self) -> GEN0_T0_SEL_W<'_, 4>
Bits 4:6 - Source selection for PWM generator 0 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
sourcepub fn gen0_t1_sel(&mut self) -> GEN0_T1_SEL_W<'_, 7>
pub fn gen0_t1_sel(&mut self) -> GEN0_T1_SEL_W<'_, 7>
Bits 7:9 - Source selection for PWM generator 0 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
Methods from Deref<Target = W<GEN0_CFG0_SPEC>>
Trait Implementations
sourceimpl From<W<GEN0_CFG0_SPEC>> for W
impl From<W<GEN0_CFG0_SPEC>> for W
sourcefn from(writer: W<GEN0_CFG0_SPEC>) -> Self
fn from(writer: W<GEN0_CFG0_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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