pub struct R(_);
Expand description
Register CH%s_CONF0
reader
Implementations§
source§impl R
impl R
sourcepub fn timer_sel(&self) -> TIMER_SEL_R
pub fn timer_sel(&self) -> TIMER_SEL_R
Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer 0. 1: select timer 1. 2: select timer 2. 3: select timer 3.
sourcepub fn sig_out_en(&self) -> SIG_OUT_EN_R
pub fn sig_out_en(&self) -> SIG_OUT_EN_R
Bit 2 - Set this bit to enable signal output on channel %s.
sourcepub fn idle_lv(&self) -> IDLE_LV_R
pub fn idle_lv(&self) -> IDLE_LV_R
Bit 3 - This bit is used to control the output value when channel %s is inactive.
sourcepub fn ovf_num(&self) -> OVF_NUM_R
pub fn ovf_num(&self) -> OVF_NUM_R
Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.
sourcepub fn ovf_cnt_en(&self) -> OVF_CNT_EN_R
pub fn ovf_cnt_en(&self) -> OVF_CNT_EN_R
Bit 15 - This bit is used to enable the ovf_cnt of channel %s.
sourcepub fn ovf_cnt_reset_st(&self) -> OVF_CNT_RESET_ST_R
pub fn ovf_cnt_reset_st(&self) -> OVF_CNT_RESET_ST_R
Bit 17 - This is the status bit of LEDC_OVF_CNT_RESET_CH%s.