pub struct R(_);
Expand description

Register PRO_DCACHE_CTRL reader

Implementations§

source§

impl R

source

pub fn pro_dcache_enable(&self) -> PRO_DCACHE_ENABLE_R

Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable

source

pub fn pro_dcache_setsize_mode(&self) -> PRO_DCACHE_SETSIZE_MODE_R

Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB

source

pub fn pro_dcache_blocksize_mode(&self) -> PRO_DCACHE_BLOCKSIZE_MODE_R

Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes

source

pub fn pro_dcache_invalidate_ena(&self) -> PRO_DCACHE_INVALIDATE_ENA_R

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

source

pub fn pro_dcache_invalidate_done(&self) -> PRO_DCACHE_INVALIDATE_DONE_R

Bit 9 - The bit is used to indicate invalidate operation is finished.

source

pub fn pro_dcache_flush_ena(&self) -> PRO_DCACHE_FLUSH_ENA_R

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

source

pub fn pro_dcache_flush_done(&self) -> PRO_DCACHE_FLUSH_DONE_R

Bit 11 - The bit is used to indicate flush operation is finished.

source

pub fn pro_dcache_clean_ena(&self) -> PRO_DCACHE_CLEAN_ENA_R

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

source

pub fn pro_dcache_clean_done(&self) -> PRO_DCACHE_CLEAN_DONE_R

Bit 13 - The bit is used to indicate clean operation is finished.

source

pub fn pro_dcache_lock0_en(&self) -> PRO_DCACHE_LOCK0_EN_R

Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG.

source

pub fn pro_dcache_lock1_en(&self) -> PRO_DCACHE_LOCK1_EN_R

Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG.

source

pub fn pro_dcache_autoload_ena(&self) -> PRO_DCACHE_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.

source

pub fn pro_dcache_autoload_done(&self) -> PRO_DCACHE_AUTOLOAD_DONE_R

Bit 19 - The bit is used to indicate conditional-preload operation is finished.

source

pub fn pro_dcache_preload_ena(&self) -> PRO_DCACHE_PRELOAD_ENA_R

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

source

pub fn pro_dcache_preload_done(&self) -> PRO_DCACHE_PRELOAD_DONE_R

Bit 21 - The bit is used to indicate preload operation is finished.

source

pub fn pro_dcache_unlock_ena(&self) -> PRO_DCACHE_UNLOCK_ENA_R

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

source

pub fn pro_dcache_unlock_done(&self) -> PRO_DCACHE_UNLOCK_DONE_R

Bit 23 - The bit is used to indicate unlock operation is finished.

source

pub fn pro_dcache_lock_ena(&self) -> PRO_DCACHE_LOCK_ENA_R

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

source

pub fn pro_dcache_lock_done(&self) -> PRO_DCACHE_LOCK_DONE_R

Bit 25 - The bit is used to indicate lock operation is finished.

Methods from Deref<Target = R<PRO_DCACHE_CTRL_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<PRO_DCACHE_CTRL_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<PRO_DCACHE_CTRL_SPEC>> for R

source§

fn from(reader: R<PRO_DCACHE_CTRL_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.