Struct Lptr
#[repr(transparent)]pub struct Lptr(pub u32);
Expand description
low-power timeout register
Tuple Fields§
§0: u32
Implementations§
§impl Lptr
impl Lptr
pub const fn timeout(&self) -> u16
pub const fn timeout(&self) -> u16
15: 0]: Timeout period After each access in Memory-mapped mode, the OCTOSPI prefetches the subsequent bytes and hold them in the FIFO. This field indicates how many CLK cycles the OCTOSPI waits after the clock becomes inactive and until it raises the NCS, putting the external device in a lower-consumption state.
pub fn set_timeout(&mut self, val: u16)
pub fn set_timeout(&mut self, val: u16)
15: 0]: Timeout period After each access in Memory-mapped mode, the OCTOSPI prefetches the subsequent bytes and hold them in the FIFO. This field indicates how many CLK cycles the OCTOSPI waits after the clock becomes inactive and until it raises the NCS, putting the external device in a lower-consumption state.
Trait Implementations§
impl Copy for Lptr
impl Eq for Lptr
impl StructuralPartialEq for Lptr
Auto Trait Implementations§
impl Freeze for Lptr
impl RefUnwindSafe for Lptr
impl Send for Lptr
impl Sync for Lptr
impl Unpin for Lptr
impl UnwindSafe for Lptr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)