Type Alias rp2040_pac::spi0::sspsr::R

source ·
pub type R = R<SSPSR_SPEC>;
Expand description

Register SSPSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn tfe(&self) -> TFE_R

Bit 0 - Transmit FIFO empty, RO: 0 Transmit FIFO is not empty. 1 Transmit FIFO is empty.

source

pub fn tnf(&self) -> TNF_R

Bit 1 - Transmit FIFO not full, RO: 0 Transmit FIFO is full. 1 Transmit FIFO is not full.

source

pub fn rne(&self) -> RNE_R

Bit 2 - Receive FIFO not empty, RO: 0 Receive FIFO is empty. 1 Receive FIFO is not empty.

source

pub fn rff(&self) -> RFF_R

Bit 3 - Receive FIFO full, RO: 0 Receive FIFO is not full. 1 Receive FIFO is full.

source

pub fn bsy(&self) -> BSY_R

Bit 4 - 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.