Struct esp32c2_hal::pac::system::perip_rst_en1::W
pub struct W(_);
Expand description
Register PERIP_RST_EN1
writer
Implementations§
§impl W
impl W
pub fn crypto_ecc_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 1>
pub fn crypto_ecc_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 1>
Bit 1 - Set 1 to let CRYPTO_ECC reset
pub fn crypto_sha_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 2>
pub fn crypto_sha_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 2>
Bit 2 - Set 1 to let CRYPTO_SHA reset
pub fn dma_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 6>
pub fn dma_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 6>
Bit 6 - Set 1 to let DMA reset
pub fn tsens_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 10>
pub fn tsens_rst(
&mut self
) -> BitWriterRaw<'_, u32, PERIP_RST_EN1_SPEC, bool, BitM, 10>
Bit 10 - Set 1 to let TSENS reset
Methods from Deref<Target = W<PERIP_RST_EN1_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<PERIP_RST_EN1_SPEC>> for W
impl From<W<PERIP_RST_EN1_SPEC>> for W
§fn from(writer: W<PERIP_RST_EN1_SPEC>) -> W
fn from(writer: W<PERIP_RST_EN1_SPEC>) -> W
Converts to this type from the input type.