Struct esp32c2_hal::pac::extmem::icache_freeze::W
pub struct W(_);
Expand description
Register ICACHE_FREEZE
writer
Implementations§
§impl W
impl W
pub fn ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_FREEZE_SPEC, bool, BitM, 0>
pub fn ena(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_FREEZE_SPEC, bool, BitM, 0>
Bit 0 - The bit is used to enable icache freeze mode
pub fn mode(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_FREEZE_SPEC, bool, BitM, 1>
pub fn mode(
&mut self
) -> BitWriterRaw<'_, u32, ICACHE_FREEZE_SPEC, bool, BitM, 1>
Bit 1 - The bit is used to configure freeze mode, 0: assert busy if CPU miss 1: assert hit if CPU miss
Methods from Deref<Target = W<ICACHE_FREEZE_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_FREEZE_SPEC>> for W
impl From<W<ICACHE_FREEZE_SPEC>> for W
§fn from(writer: W<ICACHE_FREEZE_SPEC>) -> W
fn from(writer: W<ICACHE_FREEZE_SPEC>) -> W
Converts to this type from the input type.