Type Alias esp32c3::ledc::timer::conf::R

source ·
pub type R = R<CONF_SPEC>;
Expand description

Register CONF reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn duty_res(&self) -> DUTY_RES_R

Bits 0:3 - reg_lstimer0_duty_res.

source

pub fn clk_div(&self) -> CLK_DIV_R

Bits 4:21 - reg_clk_div_lstimer0.

source

pub fn pause(&self) -> PAUSE_R

Bit 22 - reg_lstimer0_pause.

source

pub fn rst(&self) -> RST_R

Bit 23 - reg_lstimer0_rst.

source

pub fn tick_sel(&self) -> TICK_SEL_R

Bit 24 - reg_tick_sel_lstimer0.