Type Alias esp32c3::extmem::icache_lock_ctrl::W
source · pub type W = W<ICACHE_LOCK_CTRL_SPEC>;
Expand description
Register ICACHE_LOCK_CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn icache_lock_ena(
&mut self
) -> ICACHE_LOCK_ENA_W<'_, ICACHE_LOCK_CTRL_SPEC>
pub fn icache_lock_ena( &mut self ) -> ICACHE_LOCK_ENA_W<'_, ICACHE_LOCK_CTRL_SPEC>
Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done.
sourcepub fn icache_unlock_ena(
&mut self
) -> ICACHE_UNLOCK_ENA_W<'_, ICACHE_LOCK_CTRL_SPEC>
pub fn icache_unlock_ena( &mut self ) -> ICACHE_UNLOCK_ENA_W<'_, ICACHE_LOCK_CTRL_SPEC>
Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done.