pub struct R(_);
Expand description
Register GEN0_CFG0
reader
Implementations§
source§impl R
impl R
sourcepub fn gen0_cfg_upmethod(&self) -> GEN0_CFG_UPMETHOD_R
pub fn gen0_cfg_upmethod(&self) -> GEN0_CFG_UPMETHOD_R
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(&self) -> GEN0_T0_SEL_R
pub fn gen0_t0_sel(&self) -> GEN0_T0_SEL_R
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(&self) -> GEN0_T1_SEL_R
pub fn gen0_t1_sel(&self) -> GEN0_T1_SEL_R
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