pub enum PsramVaddrMode {
Normal = 0,
LowHigh = 1,
Evenodd = 2,
}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
Available on crate feature unstable only.
impl Clone for PsramVaddrMode
Available on crate feature
unstable only.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
Available on crate feature unstable only.
impl Debug for PsramVaddrMode
Available on crate feature
unstable only.Source§impl Default for PsramVaddrMode
Available on crate feature unstable only.
impl Default for PsramVaddrMode
Available on crate feature
unstable only.Source§fn default() -> PsramVaddrMode
fn default() -> PsramVaddrMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PsramVaddrMode
Available on crate feature unstable only.
impl PartialEq for PsramVaddrMode
Available on crate feature
unstable only.impl Copy for PsramVaddrMode
Available on crate feature
unstable only.impl Eq for PsramVaddrMode
Available on crate feature
unstable only.impl StructuralPartialEq for PsramVaddrMode
Available on crate feature
unstable only.Auto Trait Implementations§
impl Freeze for PsramVaddrMode
impl RefUnwindSafe for PsramVaddrMode
impl Send for PsramVaddrMode
impl Sync for PsramVaddrMode
impl Unpin for PsramVaddrMode
impl UnsafeUnpin 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)