Type Alias esp32c6::extmem::cache_lock_ctrl::R

source ·
pub type R = R<CACHE_LOCK_CTRL_SPEC>;
Expand description

Register CACHE_LOCK_CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn cache_lock_ena(&self) -> CACHE_LOCK_ENA_R

Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done

source

pub fn cache_unlock_ena(&self) -> CACHE_UNLOCK_ENA_R

Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done

source

pub fn cache_lock_done(&self) -> CACHE_LOCK_DONE_R

Bit 2 - The bit is used to indicate whether unlock/lock operation is finished or not. 0: not finished. 1: finished.

source

pub fn cache_lock_rgid(&self) -> CACHE_LOCK_RGID_R

Bits 3:6 - The bit is used to set the gid of cache lock/unlock.