Struct esp32s3_hal::pac::extmem::dcache_autoload_ctrl::W
pub struct W(_);
Expand description
Register DCACHE_AUTOLOAD_CTRL
writer
Implementations§
§impl W
impl W
pub fn dcache_autoload_sct0_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 0>
pub fn dcache_autoload_sct0_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 0>
Bit 0 - The bits are used to enable the first section for autoload operation.
pub fn dcache_autoload_sct1_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 1>
pub fn dcache_autoload_sct1_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 1>
Bit 1 - The bits are used to enable the second section for autoload operation.
pub fn dcache_autoload_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 2>
pub fn dcache_autoload_ena(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 2>
Bit 2 - The bit is used to enable and disable autoload operation. It is combined with dcache_autoload_done. 1: enable, 0: disable.
pub fn dcache_autoload_order(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 4>
pub fn dcache_autoload_order(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 4>
Bit 4 - The bits are used to configure the direction of autoload. 1: descending, 0: ascending.
pub fn dcache_autoload_rqst(
&mut self
) -> FieldWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, u8, u8, Unsafe, 2, 5>
pub fn dcache_autoload_rqst(
&mut self
) -> FieldWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, u8, u8, Unsafe, 2, 5>
Bits 5:6 - The bits are used to configure trigger conditions for autoload. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit.
pub fn dcache_autoload_size(
&mut self
) -> FieldWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, u8, u8, Unsafe, 2, 7>
pub fn dcache_autoload_size(
&mut self
) -> FieldWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, u8, u8, Unsafe, 2, 7>
Bits 7:8 - The bits are used to configure the numbers of the cache block for the issuing autoload operation.
pub fn dcache_autoload_buffer_clear(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 9>
pub fn dcache_autoload_buffer_clear(
&mut self
) -> BitWriterRaw<'_, u32, DCACHE_AUTOLOAD_CTRL_SPEC, bool, BitM, 9>
Bit 9 - The bit is used to clear autoload buffer in dcache.
Methods from Deref<Target = W<DCACHE_AUTOLOAD_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.