esp32h2::pcr::pwm_conf

Type Alias R

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

Register PWM_CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn pwm_clk_en(&self) -> PWM_CLK_EN_R

Bit 0 - Set 1 to enable pwm clock

Source

pub fn pwm_rst_en(&self) -> PWM_RST_EN_R

Bit 1 - Set 0 to reset pwm module

Source

pub fn pwm_ready(&self) -> PWM_READY_R

Bit 2 - Query this field after reset pwm module