Type Alias esp32c3::timg0::t::config::W

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

Register CONFIG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn use_xtal(&mut self) -> USE_XTAL_W<'_, CONFIG_SPEC>

Bit 9 - reg_t0_use_xtal.

source

pub fn alarm_en(&mut self) -> ALARM_EN_W<'_, CONFIG_SPEC>

Bit 10 - reg_t0_alarm_en.

source

pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W<'_, CONFIG_SPEC>

Bit 12 - reg_t0_divcnt_rst.

source

pub fn divider(&mut self) -> DIVIDER_W<'_, CONFIG_SPEC>

Bits 13:28 - reg_t0_divider.

source

pub fn autoreload(&mut self) -> AUTORELOAD_W<'_, CONFIG_SPEC>

Bit 29 - reg_t0_autoreload.

source

pub fn increase(&mut self) -> INCREASE_W<'_, CONFIG_SPEC>

Bit 30 - reg_t0_increase.

source

pub fn en(&mut self) -> EN_W<'_, CONFIG_SPEC>

Bit 31 - reg_t0_en.