Struct rp2040_pac2::sio::regs::FifoSt [−][src]
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.
Implementations
impl FifoSt
[src]
pub const fn roe(&self) -> bool
[src]
Sticky flag indicating the RX FIFO was read when empty. This read was ignored by the FIFO.
pub fn set_roe(&mut self, val: bool)
[src]
Sticky flag indicating the RX FIFO was read when empty. This read was ignored by the FIFO.
pub const fn wof(&self) -> bool
[src]
Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO.
pub fn set_wof(&mut self, val: bool)
[src]
Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO.
pub const fn rdy(&self) -> bool
[src]
Value is 1 if this core’s TX FIFO is not full (i.e. if FIFO_WR is ready for more data)
pub fn set_rdy(&mut self, val: bool)
[src]
Value is 1 if this core’s TX FIFO is not full (i.e. if FIFO_WR is ready for more data)
pub const fn vld(&self) -> bool
[src]
Value is 1 if this core’s RX FIFO is not empty (i.e. if FIFO_RD is valid)
pub fn set_vld(&mut self, val: bool)
[src]
Value is 1 if this core’s RX FIFO is not empty (i.e. if FIFO_RD is valid)
Trait Implementations
impl Clone for FifoSt
[src]
fn clone(&self) -> FifoSt
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FifoSt
[src]
impl Default for FifoSt
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,