[][src]Type Definition esp32::ledc::ledc_hstimer2_conf_reg::R

type R = R<u32, LEDC_HSTIMER2_CONF_REG>;

Reader of register LEDC_HSTIMER2_CONF_REG

Methods

impl R[src]

pub fn ledc_tick_sel_hstimer2(&self) -> LEDC_TICK_SEL_HSTIMER2_R[src]

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

pub fn ledc_hstimer2_rst(&self) -> LEDC_HSTIMER2_RST_R[src]

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

pub fn ledc_hstimer2_pause(&self) -> LEDC_HSTIMER2_PAUSE_R[src]

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

pub fn ledc_div_num_hstimer2(&self) -> LEDC_DIV_NUM_HSTIMER2_R[src]

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

pub fn ledc_hstimer2_lim(&self) -> LEDC_HSTIMER2_LIM_R[src]

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