Struct esp32s3_hal::pac::sensitive::internal_sram_usage_1::W
pub struct W(_);
Expand description
Register INTERNAL_SRAM_USAGE_1
writer
Implementations§
§impl W
impl W
pub fn internal_sram_icache_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 2, 0>
pub fn internal_sram_icache_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by icache.
pub fn internal_sram_dcache_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 2, 2>
pub fn internal_sram_dcache_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by dcache.
pub fn internal_sram_cpu_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 7, 4>
pub fn internal_sram_cpu_usage(
&mut self
) -> FieldWriterRaw<'_, u32, INTERNAL_SRAM_USAGE_1_SPEC, u8, u8, Unsafe, 7, 4>
Bits 4:10 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by cpu.
Methods from Deref<Target = W<INTERNAL_SRAM_USAGE_1_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<INTERNAL_SRAM_USAGE_1_SPEC>> for W
impl From<W<INTERNAL_SRAM_USAGE_1_SPEC>> for W
§fn from(writer: W<INTERNAL_SRAM_USAGE_1_SPEC>) -> W
fn from(writer: W<INTERNAL_SRAM_USAGE_1_SPEC>) -> W
Converts to this type from the input type.