pub struct W(_);
Expand description
Register CH%s_CONF0
writer
Implementations§
source§impl W
impl W
sourcepub fn timer_sel(&mut self) -> TIMER_SEL_W<'_, 0>
pub fn timer_sel(&mut self) -> TIMER_SEL_W<'_, 0>
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(&mut self) -> SIG_OUT_EN_W<'_, 2>
pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W<'_, 2>
Bit 2 - Set this bit to enable signal output on channel %s.
sourcepub fn idle_lv(&mut self) -> IDLE_LV_W<'_, 3>
pub fn idle_lv(&mut self) -> IDLE_LV_W<'_, 3>
Bit 3 - This bit is used to control the output value when channel %s is inactive.
sourcepub fn para_up(&mut self) -> PARA_UP_W<'_, 4>
pub fn para_up(&mut self) -> PARA_UP_W<'_, 4>
Bit 4 - This bit is used to update register LEDC_CH%s_HPOINT and LEDC_CH%s_DUTY for channel %s.
sourcepub fn ovf_num(&mut self) -> OVF_NUM_W<'_, 5>
pub fn ovf_num(&mut self) -> OVF_NUM_W<'_, 5>
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(&mut self) -> OVF_CNT_EN_W<'_, 15>
pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W<'_, 15>
Bit 15 - This bit is used to enable the ovf_cnt of channel %s.
sourcepub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W<'_, 16>
pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W<'_, 16>
Bit 16 - Set this bit to reset the ovf_cnt of channel %s.
Methods from Deref<Target = W<CH_CONF0_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more