Struct esp32s2::extmem::pro_icache_ctrl::R
source · pub struct R(_);
Expand description
Register PRO_ICACHE_CTRL
reader
Implementations§
source§impl R
impl R
sourcepub fn pro_icache_enable(&self) -> PRO_ICACHE_ENABLE_R
pub fn pro_icache_enable(&self) -> PRO_ICACHE_ENABLE_R
Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable
sourcepub fn pro_icache_setsize_mode(&self) -> PRO_ICACHE_SETSIZE_MODE_R
pub fn pro_icache_setsize_mode(&self) -> PRO_ICACHE_SETSIZE_MODE_R
Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB
sourcepub fn pro_icache_blocksize_mode(&self) -> PRO_ICACHE_BLOCKSIZE_MODE_R
pub fn pro_icache_blocksize_mode(&self) -> PRO_ICACHE_BLOCKSIZE_MODE_R
Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes
sourcepub fn pro_icache_invalidate_ena(&self) -> PRO_ICACHE_INVALIDATE_ENA_R
pub fn pro_icache_invalidate_ena(&self) -> PRO_ICACHE_INVALIDATE_ENA_R
Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done.
sourcepub fn pro_icache_invalidate_done(&self) -> PRO_ICACHE_INVALIDATE_DONE_R
pub fn pro_icache_invalidate_done(&self) -> PRO_ICACHE_INVALIDATE_DONE_R
Bit 9 - The bit is used to indicate invalidate operation is finished.
sourcepub fn pro_icache_lock0_en(&self) -> PRO_ICACHE_LOCK0_EN_R
pub fn pro_icache_lock0_en(&self) -> PRO_ICACHE_LOCK0_EN_R
Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK0_ADDR_REG and PRO_ICACHE_LOCK0_SIZE_REG.
sourcepub fn pro_icache_lock1_en(&self) -> PRO_ICACHE_LOCK1_EN_R
pub fn pro_icache_lock1_en(&self) -> PRO_ICACHE_LOCK1_EN_R
Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK1_ADDR_REG and PRO_ICACHE_LOCK1_SIZE_REG.
sourcepub fn pro_icache_autoload_ena(&self) -> PRO_ICACHE_AUTOLOAD_ENA_R
pub fn pro_icache_autoload_ena(&self) -> PRO_ICACHE_AUTOLOAD_ENA_R
Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable.
sourcepub fn pro_icache_autoload_done(&self) -> PRO_ICACHE_AUTOLOAD_DONE_R
pub fn pro_icache_autoload_done(&self) -> PRO_ICACHE_AUTOLOAD_DONE_R
Bit 19 - The bit is used to indicate conditional-preload operation is finished.
sourcepub fn pro_icache_preload_ena(&self) -> PRO_ICACHE_PRELOAD_ENA_R
pub fn pro_icache_preload_ena(&self) -> PRO_ICACHE_PRELOAD_ENA_R
Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done.
sourcepub fn pro_icache_preload_done(&self) -> PRO_ICACHE_PRELOAD_DONE_R
pub fn pro_icache_preload_done(&self) -> PRO_ICACHE_PRELOAD_DONE_R
Bit 21 - The bit is used to indicate preload operation is finished.
sourcepub fn pro_icache_unlock_ena(&self) -> PRO_ICACHE_UNLOCK_ENA_R
pub fn pro_icache_unlock_ena(&self) -> PRO_ICACHE_UNLOCK_ENA_R
Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done.
sourcepub fn pro_icache_unlock_done(&self) -> PRO_ICACHE_UNLOCK_DONE_R
pub fn pro_icache_unlock_done(&self) -> PRO_ICACHE_UNLOCK_DONE_R
Bit 23 - The bit is used to indicate unlock operation is finished.
sourcepub fn pro_icache_lock_ena(&self) -> PRO_ICACHE_LOCK_ENA_R
pub fn pro_icache_lock_ena(&self) -> PRO_ICACHE_LOCK_ENA_R
Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done.
sourcepub fn pro_icache_lock_done(&self) -> PRO_ICACHE_LOCK_DONE_R
pub fn pro_icache_lock_done(&self) -> PRO_ICACHE_LOCK_DONE_R
Bit 25 - The bit is used to indicate lock operation is finished.