#[repr(transparent)]pub struct FifoSt(pub u32);
Expand description
Status register for inter-core FIFOs (mailboxes). There is one FIFO in the core 0 -> core 1 direction, and one core 1 -> core 0. Both are 32 bits wide and 8 words deep. Core 0 can see the read side of the 1->0 FIFO (RX), and the write side of 0->1 FIFO (TX). Core 1 can see the read side of the 0->1 FIFO (RX), and the write side of 1->0 FIFO (TX). The SIO IRQ for each core is the logical OR of the VLD, WOF and ROE fields of its FIFO_ST register.
Tuple Fields§
§0: u32
Implementations§
source§impl FifoSt
impl FifoSt
sourcepub const fn vld(&self) -> bool
pub const fn vld(&self) -> bool
Value is 1 if this core’s RX FIFO is not empty (i.e. if FIFO_RD is valid)
sourcepub fn set_vld(&mut self, val: bool)
pub fn set_vld(&mut self, val: bool)
Value is 1 if this core’s RX FIFO is not empty (i.e. if FIFO_RD is valid)
sourcepub const fn rdy(&self) -> bool
pub const fn rdy(&self) -> bool
Value is 1 if this core’s TX FIFO is not full (i.e. if FIFO_WR is ready for more data)
sourcepub fn set_rdy(&mut self, val: bool)
pub fn set_rdy(&mut self, val: bool)
Value is 1 if this core’s TX FIFO is not full (i.e. if FIFO_WR is ready for more data)
sourcepub const fn wof(&self) -> bool
pub const fn wof(&self) -> bool
Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO.
sourcepub fn set_wof(&mut self, val: bool)
pub fn set_wof(&mut self, val: bool)
Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO.
Trait Implementations§
impl Copy for FifoSt
impl Eq for FifoSt
impl StructuralPartialEq for FifoSt
Auto Trait Implementations§
impl Freeze for FifoSt
impl RefUnwindSafe for FifoSt
impl Send for FifoSt
impl Sync for FifoSt
impl Unpin for FifoSt
impl UnwindSafe for FifoSt
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
)