Struct esp32s3_hal::pac::sensitive::retention_disable::W
pub struct W(_);
Expand description
Register RETENTION_DISABLE
writer
Implementations§
§impl W
impl W
pub fn retention_disable(
&mut self
) -> BitWriterRaw<'_, u32, RETENTION_DISABLE_SPEC, bool, BitM, 0>
pub fn retention_disable(
&mut self
) -> BitWriterRaw<'_, u32, RETENTION_DISABLE_SPEC, bool, BitM, 0>
Bit 0 - Set 1 to disable retention function and lock disable state.
Methods from Deref<Target = W<RETENTION_DISABLE_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<RETENTION_DISABLE_SPEC>> for W
impl From<W<RETENTION_DISABLE_SPEC>> for W
§fn from(writer: W<RETENTION_DISABLE_SPEC>) -> W
fn from(writer: W<RETENTION_DISABLE_SPEC>) -> W
Converts to this type from the input type.