#[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.