#[repr(u8)]pub enum Readmodeselect {
NoMissPenalty = 0,
LowPower = 1,
Deterministic = 2,
}
Expand description
NVMCTRL Read Mode
Value on reset: 0
Variants§
NoMissPenalty = 0
0: The NVM Controller (cache system) does not insert wait states on a cache miss. Gives the best system performance.
LowPower = 1
1: Reduces power consumption of the cache system, but inserts a wait state each time there is a cache miss. This mode may not be relevant if CPU performance is required, as the application will be stalled and may lead to increase run time.
Deterministic = 2
2: The cache system ensures that a cache hit or miss takes the same amount of time, determined by the number of programmed flash wait states. This mode can be used for real-time applications that require deterministic execution timings.
Trait Implementations§
Source§impl Clone for Readmodeselect
impl Clone for Readmodeselect
Source§fn clone(&self) -> Readmodeselect
fn clone(&self) -> Readmodeselect
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Readmodeselect
impl Debug for Readmodeselect
Source§impl From<Readmodeselect> for u8
impl From<Readmodeselect> for u8
Source§fn from(variant: Readmodeselect) -> Self
fn from(variant: Readmodeselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Readmodeselect
impl PartialEq for Readmodeselect
impl Copy for Readmodeselect
impl Eq for Readmodeselect
impl IsEnum for Readmodeselect
impl StructuralPartialEq for Readmodeselect
Auto Trait Implementations§
impl Freeze for Readmodeselect
impl RefUnwindSafe for Readmodeselect
impl Send for Readmodeselect
impl Sync for Readmodeselect
impl Unpin for Readmodeselect
impl UnwindSafe for Readmodeselect
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