#[repr(transparent)]pub struct Stat(pub u32);
Expand description
Cache Status
Tuple Fields§
§0: u32
Implementations§
source§impl Stat
impl Stat
sourcepub const fn flush_ready(&self) -> bool
pub const fn flush_ready(&self) -> bool
Reads as 0 while a cache flush is in progress, and 1 otherwise. The cache is flushed whenever the XIP block is reset, and also when requested via the FLUSH register.
sourcepub fn set_flush_ready(&mut self, val: bool)
pub fn set_flush_ready(&mut self, val: bool)
Reads as 0 while a cache flush is in progress, and 1 otherwise. The cache is flushed whenever the XIP block is reset, and also when requested via the FLUSH register.
sourcepub const fn fifo_empty(&self) -> bool
pub const fn fifo_empty(&self) -> bool
When 1, indicates the XIP streaming FIFO is completely empty.
sourcepub fn set_fifo_empty(&mut self, val: bool)
pub fn set_fifo_empty(&mut self, val: bool)
When 1, indicates the XIP streaming FIFO is completely empty.
sourcepub const fn fifo_full(&self) -> bool
pub const fn fifo_full(&self) -> bool
When 1, indicates the XIP streaming FIFO is completely full. The streaming FIFO is 2 entries deep, so the full and empty flag allow its level to be ascertained.
sourcepub fn set_fifo_full(&mut self, val: bool)
pub fn set_fifo_full(&mut self, val: bool)
When 1, indicates the XIP streaming FIFO is completely full. The streaming FIFO is 2 entries deep, so the full and empty flag allow its level to be ascertained.
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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
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)
clone_to_uninit
)