esp32h2::pcr::pwm_conf

Type Alias W

Source
pub type W = W<PWM_CONF_SPEC>;
Expand description

Register PWM_CONF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn pwm_clk_en(&mut self) -> PWM_CLK_EN_W<'_, PWM_CONF_SPEC>

Bit 0 - Set 1 to enable pwm clock

Source

pub fn pwm_rst_en(&mut self) -> PWM_RST_EN_W<'_, PWM_CONF_SPEC>

Bit 1 - Set 0 to reset pwm module