[−][src]Type Definition esp32::mcpwm::mcpwm_timer0_cfg0_reg::W
type W = W<u32, MCPWM_TIMER0_CFG0_REG>;
Writer for register MCPWM_TIMER0_CFG0_REG
Methods
impl W
[src]
pub fn mcpwm_timer0_period_upmethod(&mut self) -> MCPWM_TIMER0_PERIOD_UPMETHOD_W
[src]
Bits 24:25 - Update method for active reg of PWM timer0 period 0: immediate 1: TEZ 2: sync 3: TEZ or sync. TEZ here and below means timer equal zero event
pub fn mcpwm_timer0_period(&mut self) -> MCPWM_TIMER0_PERIOD_W
[src]
Bits 8:23 - Period shadow reg of PWM timer0
pub fn mcpwm_timer0_prescale(&mut self) -> MCPWM_TIMER0_PRESCALE_W
[src]
Bits 0:7 - Period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)