pub type R = R<GEN1_CFG0_SPEC>;
Expand description
Register GEN1_CFG0
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl 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:sync;when bit3 is set to 1:disable the update.
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