Struct esp32h2::mcpwm0::gen0_stmp_cfg::R
source · pub struct R(_);
Expand description
Register GEN0_STMP_CFG
reader
Implementations§
source§impl R
impl R
sourcepub fn cmpr0_a_upmethod(&self) -> CMPR0_A_UPMETHOD_R
pub fn cmpr0_a_upmethod(&self) -> CMPR0_A_UPMETHOD_R
Bits 0:3 - Update method for PWM generator 0 time stamp A’s active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update.
sourcepub fn cmpr0_b_upmethod(&self) -> CMPR0_B_UPMETHOD_R
pub fn cmpr0_b_upmethod(&self) -> CMPR0_B_UPMETHOD_R
Bits 4:7 - Update method for PWM generator 0 time stamp B’s active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update.
sourcepub fn cmpr0_a_shdw_full(&self) -> CMPR0_A_SHDW_FULL_R
pub fn cmpr0_a_shdw_full(&self) -> CMPR0_A_SHDW_FULL_R
Bit 8 - Set and reset by hardware. If set, PWM generator 0 time stamp A’s shadow reg is filled and waiting to be transferred to A’s active reg. If cleared, A’s active reg has been updated with shadow register latest value
sourcepub fn cmpr0_b_shdw_full(&self) -> CMPR0_B_SHDW_FULL_R
pub fn cmpr0_b_shdw_full(&self) -> CMPR0_B_SHDW_FULL_R
Bit 9 - Set and reset by hardware. If set, PWM generator 0 time stamp B’s shadow reg is filled and waiting to be transferred to B’s active reg. If cleared, B’s active reg has been updated with shadow register latest value