#[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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.