[][src]Enum atsamd21g18a::nvmctrl::ctrlb::READMODER

pub enum READMODER {
    NO_MISS_PENALTY,
    LOW_POWER,
    DETERMINISTIC,
    _Reserved(u8),
}

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[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_no_miss_penalty(&self) -> bool[src]

Checks if the value of the field is NO_MISS_PENALTY

pub fn is_low_power(&self) -> bool[src]

Checks if the value of the field is LOW_POWER

pub fn is_deterministic(&self) -> bool[src]

Checks if the value of the field is DETERMINISTIC

Trait Implementations

impl Debug for READMODER[src]

impl PartialEq<READMODER> for READMODER[src]

impl Copy for READMODER[src]

impl Clone for READMODER[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for READMODER

impl Sync for READMODER

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]