Cache

Struct Cache 

Source
pub struct Cache { /* private fields */ }

Implementations§

Source§

impl Cache

Source

pub const fn cache_assoccfg_reg( &self, ) -> &'static Reg<CacheAssoccfgReg_SPEC, RW>

Cache associativity configuration register

Source

pub const fn cache_ctrl1_reg(&self) -> &'static Reg<CacheCtrl1Reg_SPEC, RW>

Cache control register 1

Source

pub const fn cache_ctrl2_reg(&self) -> &'static Reg<CacheCtrl2Reg_SPEC, RW>

Cache control register 2

Source

pub const fn cache_lnsizecfg_reg( &self, ) -> &'static Reg<CacheLnsizecfgReg_SPEC, RW>

Cache line size configuration register

Source

pub const fn cache_mrm_ctrl_reg(&self) -> &'static Reg<CacheMrmCtrlReg_SPEC, RW>

Cache MRM (Miss Rate Monitor) CONTROL register

Source

pub const fn cache_mrm_hits_reg(&self) -> &'static Reg<CacheMrmHitsReg_SPEC, RW>

Cache MRM (Miss Rate Monitor) HITS register

Source

pub const fn cache_mrm_misses_reg( &self, ) -> &'static Reg<CacheMrmMissesReg_SPEC, RW>

Cache MRM (Miss Rate Monitor) MISSES register

Source

pub const fn cache_mrm_thres_reg( &self, ) -> &'static Reg<CacheMrmThresReg_SPEC, RW>

Cache MRM (Miss Rate Monitor) THRESHOLD register

Source

pub const fn cache_mrm_tint_reg(&self) -> &'static Reg<CacheMrmTintReg_SPEC, RW>

Cache MRM (Miss Rate Monitor) TIME INTERVAL register

Source

pub const fn swd_reset_reg(&self) -> &'static Reg<SwdResetReg_SPEC, RW>

SWD HW reset control register

Trait Implementations§

Source§

impl Clone for Cache

Source§

fn clone(&self) -> Cache

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Cache

Source§

fn eq(&self, other: &Cache) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Cache

Source§

impl Eq for Cache

Source§

impl Send for Cache

CACHE registers

Source§

impl StructuralPartialEq for Cache

Source§

impl Sync for Cache

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.