pub enum PsramVaddrMode {
Normal = 0,
LowHigh = 1,
Evenodd = 2,
}Available on crate features
psram and unstable only.Expand description
PSRAM virtual address mode.
Specifies how PSRAM is mapped for the CPU cores.
Variants§
Normal = 0
App and pro CPU use their own flash cache for external RAM access.
In this mode both cores access the same physical PSRAM.
LowHigh = 1
App and pro CPU share external RAM caches: pro CPU has low * 2M, app CPU has high 2M.
In this mode the two cores will access different parts of PSRAM.
Evenodd = 2
App and pro CPU share external RAM caches: pro CPU does even 32 byte ranges, app does odd ones.
In this mode the two cores will access different parts of PSRAM.
Trait Implementations§
Source§impl Clone for PsramVaddrMode
impl Clone for PsramVaddrMode
Source§fn clone(&self) -> PsramVaddrMode
fn clone(&self) -> PsramVaddrMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PsramVaddrMode
impl Debug for PsramVaddrMode
Source§impl Default for PsramVaddrMode
impl Default for PsramVaddrMode
Source§fn default() -> PsramVaddrMode
fn default() -> PsramVaddrMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PsramVaddrMode
impl PartialEq for PsramVaddrMode
impl Copy for PsramVaddrMode
impl Eq for PsramVaddrMode
impl StructuralPartialEq for PsramVaddrMode
Auto Trait Implementations§
impl Freeze for PsramVaddrMode
impl RefUnwindSafe for PsramVaddrMode
impl Send for PsramVaddrMode
impl Sync for PsramVaddrMode
impl Unpin for PsramVaddrMode
impl UnwindSafe for PsramVaddrMode
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)