#[repr(u8)]
pub enum MODE_A {
    WS0,
    WS1,
    WS0SCBTP,
    WS1SCBTP,
    WS2,
    WS2SCBTP,
}
Expand description

Read Mode

Value on reset: 1

Variants

WS0

0: Zero wait-states inserted in fetch or read transfers.

WS1

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

WS0SCBTP

2: 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.

WS1SCBTP

3: One wait-state access with SCBTP enabled.

WS2

4: Two wait-states inserted for each fetch or read transfer. This mode is required for a core frequency above 32 MHz.

WS2SCBTP

5: Two wait-state access with SCBTP enabled.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.