[][src]Type Definition esp32::mcpwm::mcpwm_timer1_cfg0_reg::R

type R = R<u32, MCPWM_TIMER1_CFG0_REG>;

Reader of register MCPWM_TIMER1_CFG0_REG

Methods

impl R[src]

pub fn mcpwm_timer1_period_upmethod(&self) -> MCPWM_TIMER1_PERIOD_UPMETHOD_R[src]

Bits 24:25 - Update method for active reg of PWM timer1 period 0: immediate 1: TEZ 2: sync 3: TEZ or sync

pub fn mcpwm_timer1_period(&self) -> MCPWM_TIMER1_PERIOD_R[src]

Bits 8:23 - Period shadow reg of PWM timer1

pub fn mcpwm_timer1_prescale(&self) -> MCPWM_TIMER1_PRESCALE_R[src]

Bits 0:7 - Period of PT1_clk = Period of PWM_clk * (PWM_TIMER1_PRESCALE + 1)