Type Alias esp32c3::timg0::wdtconfig0::W

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

Register WDTCONFIG0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wdt_appcpu_reset_en( &mut self ) -> WDT_APPCPU_RESET_EN_W<'_, WDTCONFIG0_SPEC>

Bit 12 - reg_wdt_appcpu_reset_en.

source

pub fn wdt_procpu_reset_en( &mut self ) -> WDT_PROCPU_RESET_EN_W<'_, WDTCONFIG0_SPEC>

Bit 13 - reg_wdt_procpu_reset_en.

source

pub fn wdt_flashboot_mod_en( &mut self ) -> WDT_FLASHBOOT_MOD_EN_W<'_, WDTCONFIG0_SPEC>

Bit 14 - reg_wdt_flashboot_mod_en.

source

pub fn wdt_sys_reset_length( &mut self ) -> WDT_SYS_RESET_LENGTH_W<'_, WDTCONFIG0_SPEC>

Bits 15:17 - reg_wdt_sys_reset_length.

source

pub fn wdt_cpu_reset_length( &mut self ) -> WDT_CPU_RESET_LENGTH_W<'_, WDTCONFIG0_SPEC>

Bits 18:20 - reg_wdt_cpu_reset_length.

source

pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W<'_, WDTCONFIG0_SPEC>

Bit 21 - reg_wdt_use_xtal.

source

pub fn wdt_conf_update_en( &mut self ) -> WDT_CONF_UPDATE_EN_W<'_, WDTCONFIG0_SPEC>

Bit 22 - reg_wdt_conf_update_en.

source

pub fn wdt_stg3(&mut self) -> WDT_STG3_W<'_, WDTCONFIG0_SPEC>

Bits 23:24 - reg_wdt_stg3.

source

pub fn wdt_stg2(&mut self) -> WDT_STG2_W<'_, WDTCONFIG0_SPEC>

Bits 25:26 - reg_wdt_stg2.

source

pub fn wdt_stg1(&mut self) -> WDT_STG1_W<'_, WDTCONFIG0_SPEC>

Bits 27:28 - reg_wdt_stg1.

source

pub fn wdt_stg0(&mut self) -> WDT_STG0_W<'_, WDTCONFIG0_SPEC>

Bits 29:30 - reg_wdt_stg0.

source

pub fn wdt_en(&mut self) -> WDT_EN_W<'_, WDTCONFIG0_SPEC>

Bit 31 - reg_wdt_en.