Struct rp2040_pac2::xip_ssi::regs::Sr[][src]

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

Status register

Implementations

impl Sr[src]

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

Data collision error

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

Data collision error

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

Transmission error

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

Transmission error

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

Receive FIFO full

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

Receive FIFO full

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

Receive FIFO not empty

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

Receive FIFO not empty

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

Transmit FIFO empty

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

Transmit FIFO empty

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

Transmit FIFO not full

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

Transmit FIFO not full

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

SSI busy flag

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

SSI busy flag

Trait Implementations

impl Clone for Sr[src]

impl Copy for Sr[src]

impl Default for Sr[src]

Auto Trait Implementations

impl Send for Sr

impl Sync for Sr

impl Unpin for Sr

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.