[][src]Type Definition esp32::ledc::ledc_lstimer1_conf_reg::W

type W = W<u32, LEDC_LSTIMER1_CONF_REG>;

Writer for register LEDC_LSTIMER1_CONF_REG

Methods

impl W[src]

pub fn ledc_lstimer1_para_up(&mut self) -> LEDC_LSTIMER1_PARA_UP_W[src]

Bit 26 - Set this bit to update reg_div_num_lstime1 and reg_lstimer1_lim.

pub fn ledc_tick_sel_lstimer1(&mut self) -> LEDC_TICK_SEL_LSTIMER1_W[src]

Bit 25 - This bit is used to choose slow_clk or ref_tick for low speed timer1. 1'b1:slow_clk 0:ref_tick

pub fn ledc_lstimer1_rst(&mut self) -> LEDC_LSTIMER1_RST_W[src]

Bit 24 - This bit is used to reset low speed timer1 the counter will be 0 after reset.

pub fn ledc_lstimer1_pause(&mut self) -> LEDC_LSTIMER1_PAUSE_W[src]

Bit 23 - This bit is used to pause the counter in low speed timer1.

pub fn ledc_div_num_lstimer1(&mut self) -> LEDC_DIV_NUM_LSTIMER1_W[src]

Bits 5:22 - This register is used to configure parameter for divider in low speed timer1 the least significant eight bits represent the decimal part.

pub fn ledc_lstimer1_lim(&mut self) -> LEDC_LSTIMER1_LIM_W[src]

Bits 0:4 - This register controls the range of the counter in low speed timer1. the counter range is [0 2**reg_lstimer1_lim] the max bit width for counter is 20.