Type Definition atsaml21e16b::nvmctrl::ctrlb::READMODE_W
source · pub type READMODE_W<'a, const O: u8> = FieldWriter<'a, u32, CTRLB_SPEC, u8, READMODESELECT_A, 2, O>;
Expand description
Field READMODE
writer - NVMCTRL Read Mode
Implementations§
source§impl<'a, const O: u8> READMODE_W<'a, O>
impl<'a, const O: u8> READMODE_W<'a, O>
sourcepub fn no_miss_penalty(self) -> &'a mut W
pub fn no_miss_penalty(self) -> &'a mut W
The NVM Controller (cache system) does not insert wait states on a cache miss. Gives the best system performance.
sourcepub fn low_power(self) -> &'a mut W
pub fn low_power(self) -> &'a mut W
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.
sourcepub fn deterministic(self) -> &'a mut W
pub fn deterministic(self) -> &'a mut W
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.