Struct nrf5340_app_pac::cache_s::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {
pub profiling0: PROFILING,
pub profiling1: PROFILING,
pub enable: ENABLE,
pub invalidate: INVALIDATE,
pub erase: ERASE,
pub profilingenable: PROFILINGENABLE,
pub profilingclear: PROFILINGCLEAR,
pub mode: MODE,
pub debuglock: DEBUGLOCK,
pub erasestatus: ERASESTATUS,
pub writelock: WRITELOCK,
/* private fields */
}
Expand description
Register block
Fields
profiling0: PROFILING
0x400..0x410 - Unspecified
profiling1: PROFILING
0x420..0x430 - Unspecified
enable: ENABLE
0x500 - Enable cache.
invalidate: INVALIDATE
0x504 - Invalidate the cache.
erase: ERASE
0x508 - Erase the cache.
profilingenable: PROFILINGENABLE
0x50c - Enable the profiling counters.
profilingclear: PROFILINGCLEAR
0x510 - Clear the profiling counters.
mode: MODE
0x514 - 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.
debuglock: DEBUGLOCK
0x518 - Lock debug mode.
erasestatus: ERASESTATUS
0x51c - Cache erase status.
writelock: WRITELOCK
0x520 - Lock cache updates. Prevents updating of cache content on cache misses, but will continue to lookup instruction/data fetches in content already present in the cache. Ignored in RAM mode.
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more