Struct esp32s3::extmem::dcache_ctrl::R
source · pub struct R(_);
Expand description
Register DCACHE_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn dcache_enable(&self) -> DCACHE_ENABLE_R
pub fn dcache_enable(&self) -> DCACHE_ENABLE_R
Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable
sourcepub fn dcache_size_mode(&self) -> DCACHE_SIZE_MODE_R
pub fn dcache_size_mode(&self) -> DCACHE_SIZE_MODE_R
Bit 2 - The bit is used to configure cache memory size.0: 32KB, 1: 64KB
sourcepub fn dcache_blocksize_mode(&self) -> DCACHE_BLOCKSIZE_MODE_R
pub fn dcache_blocksize_mode(&self) -> DCACHE_BLOCKSIZE_MODE_R
Bits 3:4 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes,2: 64 bytes
Methods from Deref<Target = R<DCACHE_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more