pub type W = W<CONF_SPEC>;
Expand description
Register CONF
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn duty_res(&mut self) -> DUTY_RES_W<'_, CONF_SPEC>
pub fn duty_res(&mut self) -> DUTY_RES_W<'_, CONF_SPEC>
Bits 0:4 - This register is used to control the range of the counter in timer %s.
Sourcepub fn clk_div(&mut self) -> CLK_DIV_W<'_, CONF_SPEC>
pub fn clk_div(&mut self) -> CLK_DIV_W<'_, CONF_SPEC>
Bits 5:22 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part.
Sourcepub fn pause(&mut self) -> PAUSE_W<'_, CONF_SPEC>
pub fn pause(&mut self) -> PAUSE_W<'_, CONF_SPEC>
Bit 23 - This bit is used to suspend the counter in timer %s.
Sourcepub fn rst(&mut self) -> RST_W<'_, CONF_SPEC>
pub fn rst(&mut self) -> RST_W<'_, CONF_SPEC>
Bit 24 - This bit is used to reset timer %s. The counter will show 0 after reset.
Sourcepub fn tick_sel(&mut self) -> TICK_SEL_W<'_, CONF_SPEC>
pub fn tick_sel(&mut self) -> TICK_SEL_W<'_, CONF_SPEC>
Bit 25 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL[1:0] should be 1, otherwise the timer clock may be not accurate. 1’h0: SLOW_CLK 1’h1: REF_TICK