Struct esp32::ledc::lsch_conf0::W
source · pub struct W(_);
Expand description
Register LSCH%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 - There are four low speed timers the two bits are used to select one of them for low speed channel0. 2’b00: seletc lstimer0. 2’b01: select lstimer1. 2’b10: select lstimer2. 2’b11: select lstimer3.
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 - This is the output enable control bit for low speed channel0.
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 low speed channel0 is off.
Methods from Deref<Target = W<LSCH_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