pub struct PsramTimingParams {
pub clock_source: PsramFunctionClockConfig,
pub clock: u32,
pub mr0_rl: u8,
pub mr4_wl: u8,
pub rd_dummy_bits: u8,
pub wr_dummy_bits: u8,
pub reg_dummy_bits: u32,
}Available on crate feature
unstable only.Expand description
PSRAM timing parameters.
These values should be tuned together with the source clock frequency. The source clock frequency must be an integer multiple of the PSRAM frequency.
Fields§
§clock_source: PsramFunctionClockConfigPSRAM clock source.
clock: u32Bus clock frequency in MHz. Must divide the source clock evenly.
mr0_rl: u8MR0.read_latency field value (cycles = 2 * value + 6).
mr4_wl: u8MR4.wr_latency field value.
rd_dummy_bits: u8Read dummy length in bits for sync data reads (cache path).
For N dummy bits, configure reg_dummy_bits to N - 1.
wr_dummy_bits: u8Write dummy length in bits for sync data writes (cache path).
For N dummy bits, configure reg_dummy_bits to N - 1.
reg_dummy_bits: u32Register-read dummy length for direct command path (MSPI3).
Implementations§
Trait Implementations§
Source§impl Clone for PsramTimingParams
impl Clone for PsramTimingParams
Source§fn clone(&self) -> PsramTimingParams
fn clone(&self) -> PsramTimingParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PsramTimingParams
Source§impl Debug for PsramTimingParams
impl Debug for PsramTimingParams
Source§impl Default for PsramTimingParams
impl Default for PsramTimingParams
Source§impl PartialEq for PsramTimingParams
impl PartialEq for PsramTimingParams
impl StructuralPartialEq for PsramTimingParams
Auto Trait Implementations§
impl Freeze for PsramTimingParams
impl RefUnwindSafe for PsramTimingParams
impl Send for PsramTimingParams
impl Sync for PsramTimingParams
impl Unpin for PsramTimingParams
impl UnsafeUnpin for PsramTimingParams
impl UnwindSafe for PsramTimingParams
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)