Struct esp32c3::rtc_cntl::wdtconfig0::W
source · pub struct W(_);Expand description
Register WDTCONFIG0 writer
Implementations
sourceimpl W
impl W
sourcepub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W<'_, 0>
pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W<'_, 0>
Bits 0:7 - chip reset siginal pulse width
sourcepub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W<'_, 8>
pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W<'_, 8>
Bit 8 - wdt reset whole chip enable
sourcepub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W<'_, 9>
pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W<'_, 9>
Bit 9 - pause WDT in sleep
sourcepub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W<'_, 10>
pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W<'_, 10>
Bit 10 - enable WDT reset APP CPU
sourcepub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W<'_, 11>
pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W<'_, 11>
Bit 11 - enable WDT reset PRO CPU
sourcepub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W<'_, 12>
pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W<'_, 12>
Bit 12 - enable WDT in flash boot
sourcepub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W<'_, 13>
pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W<'_, 13>
Bits 13:15 - system reset counter length
sourcepub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W<'_, 16>
pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W<'_, 16>
Bits 16:18 - CPU reset counter length
sourcepub fn wdt_stg3(&mut self) -> WDT_STG3_W<'_, 19>
pub fn wdt_stg3(&mut self) -> WDT_STG3_W<'_, 19>
Bits 19:21 - 1: interrupt stage en
sourcepub fn wdt_stg2(&mut self) -> WDT_STG2_W<'_, 22>
pub fn wdt_stg2(&mut self) -> WDT_STG2_W<'_, 22>
Bits 22:24 - 1: interrupt stage en
sourcepub fn wdt_stg1(&mut self) -> WDT_STG1_W<'_, 25>
pub fn wdt_stg1(&mut self) -> WDT_STG1_W<'_, 25>
Bits 25:27 - 1: interrupt stage en
sourcepub fn wdt_stg0(&mut self) -> WDT_STG0_W<'_, 28>
pub fn wdt_stg0(&mut self) -> WDT_STG0_W<'_, 28>
Bits 28:30 - 1: interrupt stage en
Methods from Deref<Target = W<WDTCONFIG0_SPEC>>
Trait Implementations
sourceimpl From<W<WDTCONFIG0_SPEC>> for W
impl From<W<WDTCONFIG0_SPEC>> for W
sourcefn from(writer: W<WDTCONFIG0_SPEC>) -> Self
fn from(writer: W<WDTCONFIG0_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more