Type Alias esp32c6::modem_lpcon::lp_timer_conf::W

source ·
pub type W = W<LP_TIMER_CONF_SPEC>;
Expand description

Register LP_TIMER_CONF writer

Implementations§

source§

impl W

source

pub fn clk_lp_timer_sel_osc_slow( &mut self ) -> CLK_LP_TIMER_SEL_OSC_SLOW_W<'_, LP_TIMER_CONF_SPEC, 0>

Bit 0

source

pub fn clk_lp_timer_sel_osc_fast( &mut self ) -> CLK_LP_TIMER_SEL_OSC_FAST_W<'_, LP_TIMER_CONF_SPEC, 1>

Bit 1

source

pub fn clk_lp_timer_sel_xtal( &mut self ) -> CLK_LP_TIMER_SEL_XTAL_W<'_, LP_TIMER_CONF_SPEC, 2>

Bit 2

source

pub fn clk_lp_timer_sel_xtal32k( &mut self ) -> CLK_LP_TIMER_SEL_XTAL32K_W<'_, LP_TIMER_CONF_SPEC, 3>

Bit 3

source

pub fn clk_lp_timer_div_num( &mut self ) -> CLK_LP_TIMER_DIV_NUM_W<'_, LP_TIMER_CONF_SPEC, 4>

Bits 4:15

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.