Struct Cache
pub struct Cache { /* private fields */ }Expand description
Cache.
Implementations§
§impl Cache
impl Cache
pub const unsafe fn from_ptr(ptr: *mut ()) -> Cache
pub const fn as_ptr(&self) -> *mut ()
pub const fn invalidate(self) -> Reg<Invalidate, W>
pub const fn invalidate(self) -> Reg<Invalidate, W>
Invalidate the cache.
pub const fn profilingenable(self) -> Reg<Profilingenable, RW>
pub const fn profilingenable(self) -> Reg<Profilingenable, RW>
Enable the profiling counters.
pub const fn profilingclear(self) -> Reg<Profilingclear, W>
pub const fn profilingclear(self) -> Reg<Profilingclear, W>
Clear the profiling counters.
pub 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.
pub 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§
impl Freeze for Cache
impl RefUnwindSafe for Cache
impl Unpin for Cache
impl UnsafeUnpin for Cache
impl UnwindSafe for Cache
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