[−]Enum circuit_playground_express::atsamd21g18a::nvmctrl::ctrlb::READMODER
Possible values of the field READMODE
Variants
NO_MISS_PENALTY
The NVM Controller (cache system) does not insert wait states on a cache miss. Gives the best system performance.
LOW_POWER
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
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.
_Reserved(u8)
Reserved
Methods
impl READMODER
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_no_miss_penalty(&self) -> bool
Checks if the value of the field is NO_MISS_PENALTY
pub fn is_low_power(&self) -> bool
Checks if the value of the field is LOW_POWER
pub fn is_deterministic(&self) -> bool
Checks if the value of the field is DETERMINISTIC
Trait Implementations
impl PartialEq<READMODER> for READMODER
impl Debug for READMODER
impl Copy for READMODER
impl Clone for READMODER
fn clone(&self) -> READMODER
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,