pub struct R(_);
Expand description
Register GEN1_CFG0
reader
Implementations
sourceimpl R
impl R
sourcepub fn gen1_cfg_upmethod(&self) -> GEN1_CFG_UPMETHOD_R
pub fn gen1_cfg_upmethod(&self) -> GEN1_CFG_UPMETHOD_R
Bits 0:3 - Update method for PWM generator 1’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 gen1_t0_sel(&self) -> GEN1_T0_SEL_R
pub fn gen1_t0_sel(&self) -> GEN1_T0_SEL_R
Bits 4:6 - Source selection for PWM generator 1 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
sourcepub fn gen1_t1_sel(&self) -> GEN1_T1_SEL_R
pub fn gen1_t1_sel(&self) -> GEN1_T1_SEL_R
Bits 7:9 - Source selection for PWM generator 1 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none
Methods from Deref<Target = R<GEN1_CFG0_SPEC>>
Trait Implementations
sourceimpl From<R<GEN1_CFG0_SPEC>> for R
impl From<R<GEN1_CFG0_SPEC>> for R
sourcefn from(reader: R<GEN1_CFG0_SPEC>) -> Self
fn from(reader: R<GEN1_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