Struct rp2040_pac2::xip_ctrl::regs::Stat[][src]

#[repr(transparent)]pub struct Stat(pub u32);

Cache Status

Implementations

impl Stat[src]

pub const fn fifo_full(&self) -> bool[src]

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.

pub fn set_fifo_full(&mut self, val: bool)[src]

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.

pub const fn fifo_empty(&self) -> bool[src]

When 1, indicates the XIP streaming FIFO is completely empty.

pub fn set_fifo_empty(&mut self, val: bool)[src]

When 1, indicates the XIP streaming FIFO is completely empty.

pub const fn flush_ready(&self) -> bool[src]

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.

pub fn set_flush_ready(&mut self, val: bool)[src]

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.

Trait Implementations

impl Clone for Stat[src]

impl Copy for Stat[src]

impl Default for Stat[src]

Auto Trait Implementations

impl Send for Stat

impl Sync for Stat

impl Unpin for Stat

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.