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

type W = W<u32, LEDC_HSTIMER0_CONF_REG>;

Writer for register LEDC_HSTIMER0_CONF_REG

Methods

impl W[src]

pub fn ledc_tick_sel_hstimer0(&mut self) -> LEDC_TICK_SEL_HSTIMER0_W[src]

Bit 25 - This bit is used to choose apb_clk or ref_tick for high speed timer0. 1'b1:apb_clk 0:ref_tick

pub fn ledc_hstimer0_rst(&mut self) -> LEDC_HSTIMER0_RST_W[src]

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

pub fn ledc_hstimer0_pause(&mut self) -> LEDC_HSTIMER0_PAUSE_W[src]

Bit 23 - This bit is used to pause the counter in high speed timer0

pub fn ledc_div_num_hstimer0(&mut self) -> LEDC_DIV_NUM_HSTIMER0_W[src]

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

pub fn ledc_hstimer0_lim(&mut self) -> LEDC_HSTIMER0_LIM_W[src]

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