Struct esp32s3_hal::pac::extmem::icache_lock_ctrl::W
pub struct W(_);
Expand description
Register ICACHE_LOCK_CTRL
writer
Implementations§
§impl W
impl W
pub fn icache_lock_ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_LOCK_CTRL_SPEC, bool, BitM, 0>
pub fn icache_lock_ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_LOCK_CTRL_SPEC, bool, BitM, 0>
Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done.
pub fn icache_unlock_ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_LOCK_CTRL_SPEC, bool, BitM, 1>
pub fn icache_unlock_ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_LOCK_CTRL_SPEC, bool, BitM, 1>
Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done.
Methods from Deref<Target = W<ICACHE_LOCK_CTRL_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<ICACHE_LOCK_CTRL_SPEC>> for W
impl From<W<ICACHE_LOCK_CTRL_SPEC>> for W
§fn from(writer: W<ICACHE_LOCK_CTRL_SPEC>) -> W
fn from(writer: W<ICACHE_LOCK_CTRL_SPEC>) -> W
Converts to this type from the input type.