Struct rp2040_pac2::spi::regs::Sspsr [−][src]
Status register, SSPSR on page 3-7
Implementations
impl Sspsr
[src]
pub const fn bsy(&self) -> bool
[src]
PrimeCell SSP busy flag, RO: 0 SSP is idle. 1 SSP is currently transmitting and/or receiving a frame or the transmit FIFO is not empty.
pub fn set_bsy(&mut self, val: bool)
[src]
PrimeCell SSP busy flag, RO: 0 SSP is idle. 1 SSP is currently transmitting and/or receiving a frame or the transmit FIFO is not empty.
pub const fn rff(&self) -> bool
[src]
Receive FIFO full, RO: 0 Receive FIFO is not full. 1 Receive FIFO is full.
pub fn set_rff(&mut self, val: bool)
[src]
Receive FIFO full, RO: 0 Receive FIFO is not full. 1 Receive FIFO is full.
pub const fn rne(&self) -> bool
[src]
Receive FIFO not empty, RO: 0 Receive FIFO is empty. 1 Receive FIFO is not empty.
pub fn set_rne(&mut self, val: bool)
[src]
Receive FIFO not empty, RO: 0 Receive FIFO is empty. 1 Receive FIFO is not empty.
pub const fn tnf(&self) -> bool
[src]
Transmit FIFO not full, RO: 0 Transmit FIFO is full. 1 Transmit FIFO is not full.
pub fn set_tnf(&mut self, val: bool)
[src]
Transmit FIFO not full, RO: 0 Transmit FIFO is full. 1 Transmit FIFO is not full.
pub const fn tfe(&self) -> bool
[src]
Transmit FIFO empty, RO: 0 Transmit FIFO is not empty. 1 Transmit FIFO is empty.
pub fn set_tfe(&mut self, val: bool)
[src]
Transmit FIFO empty, RO: 0 Transmit FIFO is not empty. 1 Transmit FIFO is empty.
Trait Implementations
impl Clone for Sspsr
[src]
fn clone(&self) -> Sspsr
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for Sspsr
[src]
impl Default for Sspsr
[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>,