Struct esp32_hal::pac::dport::app_cache_ctrl::W
pub struct W(_);
Expand description
Register APP_CACHE_CTRL
writer
Implementations§
§impl W
impl W
pub fn app_cache_mode(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 2>
pub fn app_cache_mode(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 2>
Bit 2
pub fn app_cache_enable(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 3>
pub fn app_cache_enable(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 3>
Bit 3
pub fn app_cache_flush_ena(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 4>
pub fn app_cache_flush_ena(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 4>
Bit 4
pub fn app_cache_lock_0_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 6>
pub fn app_cache_lock_0_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 6>
Bit 6
pub fn app_cache_lock_1_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 7>
pub fn app_cache_lock_1_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 7>
Bit 7
pub fn app_cache_lock_2_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 8>
pub fn app_cache_lock_2_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 8>
Bit 8
pub fn app_cache_lock_3_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 9>
pub fn app_cache_lock_3_en(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 9>
Bit 9
pub fn app_single_iram_ena(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 10>
pub fn app_single_iram_ena(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 10>
Bit 10
pub fn app_dram_split(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 11>
pub fn app_dram_split(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 11>
Bit 11
pub fn app_dram_hl(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 14>
pub fn app_dram_hl(
&mut self
) -> BitWriterRaw<'_, u32, APP_CACHE_CTRL_SPEC, bool, BitM, 14>
Bit 14
Methods from Deref<Target = W<APP_CACHE_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<APP_CACHE_CTRL_SPEC>> for W
impl From<W<APP_CACHE_CTRL_SPEC>> for W
§fn from(writer: W<APP_CACHE_CTRL_SPEC>) -> W
fn from(writer: W<APP_CACHE_CTRL_SPEC>) -> W
Converts to this type from the input type.