pub struct Cache { /* private fields */ }
Expand description
Cache
Implementations§
Source§impl Cache
impl Cache
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn invalidate(self) -> Reg<Invalidate, W>
pub const fn invalidate(self) -> Reg<Invalidate, W>
Invalidate the cache.
Sourcepub const fn profilingenable(self) -> Reg<Profilingenable, RW>
pub const fn profilingenable(self) -> Reg<Profilingenable, RW>
Enable the profiling counters.
Sourcepub const fn profilingclear(self) -> Reg<Profilingclear, W>
pub const fn profilingclear(self) -> Reg<Profilingclear, W>
Clear the profiling counters.
Sourcepub const fn mode(self) -> Reg<Mode, RW>
pub const fn mode(self) -> Reg<Mode, RW>
Cache mode. Switching from Cache to Ram mode causes the RAM to be cleared. Switching from RAM to Cache mode causes the cache to be invalidated.
Sourcepub const fn erasestatus(self) -> Reg<Erasestatus, RW>
pub const fn erasestatus(self) -> Reg<Erasestatus, RW>
Cache erase status.
Trait Implementations§
impl Copy for Cache
impl Eq for Cache
impl Send for Cache
impl StructuralPartialEq for Cache
impl Sync for Cache
Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)