Type Alias esp32c3::rtc_cntl::pg_ctrl::W

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

Register PG_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn power_glitch_dsense(&mut self) -> POWER_GLITCH_DSENSE_W<'_, PG_CTRL_SPEC>

Bits 26:27 - power glitch desense

source

pub fn power_glitch_force_pd( &mut self ) -> POWER_GLITCH_FORCE_PD_W<'_, PG_CTRL_SPEC>

Bit 28 - force disable power glitch

source

pub fn power_glitch_force_pu( &mut self ) -> POWER_GLITCH_FORCE_PU_W<'_, PG_CTRL_SPEC>

Bit 29 - force enable power glitch

source

pub fn power_glitch_efuse_sel( &mut self ) -> POWER_GLITCH_EFUSE_SEL_W<'_, PG_CTRL_SPEC>

Bit 30 - use efuse value control power glitch enable

source

pub fn power_glitch_en(&mut self) -> POWER_GLITCH_EN_W<'_, PG_CTRL_SPEC>

Bit 31 - enable power glitch