[][src]Type Definition esp32::mcpwm::mcpwm_gen1_stmp_cfg_reg::W

type W = W<u32, MCPWM_GEN1_STMP_CFG_REG>;

Writer for register MCPWM_GEN1_STMP_CFG_REG

Methods

impl W[src]

pub fn mcpwm_gen1_b_shdw_full(&mut self) -> MCPWM_GEN1_B_SHDW_FULL_W[src]

Bit 9 - Set and reset by hardware. If set PWM generator 1 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 reg latest value

pub fn mcpwm_gen1_a_shdw_full(&mut self) -> MCPWM_GEN1_A_SHDW_FULL_W[src]

Bit 8 - Set and reset by hardware. If set PWM generator 1 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 reg latest value

pub fn mcpwm_gen1_b_upmethod(&mut self) -> MCPWM_GEN1_B_UPMETHOD_W[src]

Bits 4:7 - Update method for PWM generator 1 time stamp B's active reg. 0: immediate bit0: TEZ bit1: TEP bit2: sync bit3: disable update

pub fn mcpwm_gen1_a_upmethod(&mut self) -> MCPWM_GEN1_A_UPMETHOD_W[src]

Bits 0:3 - Update method for PWM generator 1 time stamp A's active reg. 0: immediate bit0: TEZ bit1: TEP bit2: sync bit3: disable update