Type Alias esp32c3::ledc::ch::conf0::W

source ·
pub type W = W<CONF0_SPEC>;
Expand description

Register CONF0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer_sel(&mut self) -> TIMER_SEL_W<'_, CONF0_SPEC>

Bits 0:1 - reg_timer_sel_lsch0.

source

pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W<'_, CONF0_SPEC>

Bit 2 - reg_sig_out_en_lsch0.

source

pub fn idle_lv(&mut self) -> IDLE_LV_W<'_, CONF0_SPEC>

Bit 3 - reg_idle_lv_lsch0.

source

pub fn para_up(&mut self) -> PARA_UP_W<'_, CONF0_SPEC>

Bit 4 - reg_para_up_lsch0.

source

pub fn ovf_num(&mut self) -> OVF_NUM_W<'_, CONF0_SPEC>

Bits 5:14 - reg_ovf_num_lsch0.

source

pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W<'_, CONF0_SPEC>

Bit 15 - reg_ovf_cnt_en_lsch0.

source

pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W<'_, CONF0_SPEC>

Bit 16 - reg_ovf_cnt_reset_lsch0.