Type Alias esp32c3::rtc_cntl::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_chip_reset_width( &mut self ) -> WDT_CHIP_RESET_WIDTH_W<'_, WDTCONFIG0_SPEC>

Bits 0:7 - chip reset siginal pulse width

source

pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W<'_, WDTCONFIG0_SPEC>

Bit 8 - wdt reset whole chip enable

source

pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W<'_, WDTCONFIG0_SPEC>

Bit 9 - pause WDT in sleep

source

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

Bit 10 - enable WDT reset APP CPU

source

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

Bit 11 - enable WDT reset PRO CPU

source

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

Bit 12 - enable WDT in flash boot

source

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

Bits 13:15 - system reset counter length

source

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

Bits 16:18 - CPU reset counter length

source

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

Bits 19:21 - 1: interrupt stage en

source

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

Bits 22:24 - 1: interrupt stage en

source

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

Bits 25:27 - 1: interrupt stage en

source

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

Bits 28:30 - 1: interrupt stage en

source

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

Bit 31 - enable rtc wdt