Type Alias MODE_W

Source
pub type MODE_W<'a> = FieldWriter<'a, u32, READCTRL_SPEC, u8, MODE_A, 3, 0>;
Expand description

Field MODE writer - Read Mode

Aliased Type§

pub struct MODE_W<'a> { /* private fields */ }

Implementations§

Source§

impl<'a> MODE_W<'a>

Source

pub fn ws0(self) -> &'a mut W

Zero wait-states inserted in fetch or read transfers.

Source

pub fn ws1(self) -> &'a mut W

One wait-state inserted for each fetch or read transfer. This mode is required for a core frequency above 16 MHz.

Source

pub fn ws0scbtp(self) -> &'a mut W

Zero wait-states inserted with the Suppressed Conditional Branch Target Prefetch (SCBTP) function enabled. SCBTP saves energy by delaying the Cortex’ conditional branch target prefetches until the conditional branch instruction is in the execute stage. When the instruction reaches this stage, the evaluation of the branch condition is completed and the core does not perform a speculative prefetch of both the branch target address and the next sequential address. With the SCBTP function enabled, one instruction fetch is saved for each branch not taken, with a negligible performance penalty.

Source

pub fn ws1scbtp(self) -> &'a mut W

One wait-state access with SCBTP enabled.