Struct esp32c2_hal::pac::system::cpu_peri_rst_en::W
pub struct W(_);
Expand description
Register CPU_PERI_RST_EN
writer
Implementations§
§impl W
impl W
pub fn rst_en_assist_debug(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERI_RST_EN_SPEC, bool, BitM, 6>
pub fn rst_en_assist_debug(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERI_RST_EN_SPEC, bool, BitM, 6>
Bit 6 - Set 1 to let assist_debug module reset
pub fn rst_en_dedicated_gpio(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERI_RST_EN_SPEC, bool, BitM, 7>
pub fn rst_en_dedicated_gpio(
&mut self
) -> BitWriterRaw<'_, u32, CPU_PERI_RST_EN_SPEC, bool, BitM, 7>
Bit 7 - Set 1 to let dedicated_gpio module reset
Methods from Deref<Target = W<CPU_PERI_RST_EN_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<CPU_PERI_RST_EN_SPEC>> for W
impl From<W<CPU_PERI_RST_EN_SPEC>> for W
§fn from(writer: W<CPU_PERI_RST_EN_SPEC>) -> W
fn from(writer: W<CPU_PERI_RST_EN_SPEC>) -> W
Converts to this type from the input type.