Struct esp32s3_hal::pac::extmem::dcache_ctrl::R
pub struct R(_);
Expand description
Register DCACHE_CTRL
reader
Implementations§
§impl R
impl R
pub fn dcache_enable(&self) -> BitReaderRaw<bool>
pub fn dcache_enable(&self) -> BitReaderRaw<bool>
Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable
pub fn dcache_size_mode(&self) -> BitReaderRaw<bool>
pub fn dcache_size_mode(&self) -> BitReaderRaw<bool>
Bit 2 - The bit is used to configure cache memory size.0: 32KB, 1: 64KB
pub fn dcache_blocksize_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn dcache_blocksize_mode(&self) -> FieldReaderRaw<u8, u8>
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>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<DCACHE_CTRL_SPEC>> for R
impl From<R<DCACHE_CTRL_SPEC>> for R
§fn from(reader: R<DCACHE_CTRL_SPEC>) -> R
fn from(reader: R<DCACHE_CTRL_SPEC>) -> R
Converts to this type from the input type.