Struct esp32c2_hal::pac::extmem::cache_mmu_power_ctrl::W
pub struct W(_);
Expand description
Register CACHE_MMU_POWER_CTRL
writer
Implementations§
§impl W
impl W
pub fn cache_mmu_mem_force_on(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 0>
pub fn cache_mmu_mem_force_on(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 0>
Bit 0 - The bit is used to enable clock gating to save power when access mmu memory, 0: enable, 1: disable
pub fn cache_mmu_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 1>
pub fn cache_mmu_mem_force_pd(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 1>
Bit 1 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power down
pub fn cache_mmu_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 2>
pub fn cache_mmu_mem_force_pu(
&mut self
) -> BitWriterRaw<'_, u32, CACHE_MMU_POWER_CTRL_SPEC, bool, BitM, 2>
Bit 2 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power up
Methods from Deref<Target = W<CACHE_MMU_POWER_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<CACHE_MMU_POWER_CTRL_SPEC>> for W
impl From<W<CACHE_MMU_POWER_CTRL_SPEC>> for W
§fn from(writer: W<CACHE_MMU_POWER_CTRL_SPEC>) -> W
fn from(writer: W<CACHE_MMU_POWER_CTRL_SPEC>) -> W
Converts to this type from the input type.