pub struct R(_);
Expand description
Register STATUS
reader
Implementations
sourceimpl R
impl R
sourcepub fn fifo_rx_watermark(&self) -> FIFO_RX_WATERMARK_R
pub fn fifo_rx_watermark(&self) -> FIFO_RX_WATERMARK_R
Bit 0 - FIFO reached Receive watermark level; not qualified with data transfer.
sourcepub fn fifo_tx_watermark(&self) -> FIFO_TX_WATERMARK_R
pub fn fifo_tx_watermark(&self) -> FIFO_TX_WATERMARK_R
Bit 1 - FIFO reached Transmit watermark level; not qualified with data transfer.
sourcepub fn fifo_empty(&self) -> FIFO_EMPTY_R
pub fn fifo_empty(&self) -> FIFO_EMPTY_R
Bit 2 - FIFO is empty status.
sourcepub fn fifo_full(&self) -> FIFO_FULL_R
pub fn fifo_full(&self) -> FIFO_FULL_R
Bit 3 - FIFO is full status.
sourcepub fn cmdfsmstates(&self) -> CMDFSMSTATES_R
pub fn cmdfsmstates(&self) -> CMDFSMSTATES_R
Bits 4:7 - Command FSM states: 0 - Idle 1 - Send init sequence 2 - Tx cmd start bit 3 - Tx cmd tx bit 4 - Tx cmd index + arg 5 - Tx cmd crc7 6 - Tx cmd end bit 7 - Rx resp start bit 8 - Rx resp IRQ response 9 - Rx resp tx bit 10 - Rx resp cmd idx 11 - Rx resp data 12 - Rx resp crc7 13 - Rx resp end bit 14 - Cmd path wait NCC 15 - Wait; CMD-to-response turnaround NOTE: The command FSM state is represented using 19 bits.
sourcepub fn data_3_status(&self) -> DATA_3_STATUS_R
pub fn data_3_status(&self) -> DATA_3_STATUS_R
Bit 8 - Raw selected card_data[3]; checks whether card is present 0 - card not present 1 - card present.
sourcepub fn data_busy(&self) -> DATA_BUSY_R
pub fn data_busy(&self) -> DATA_BUSY_R
Bit 9 - Inverted version of raw selected card_data[0] 0 - card data not busy 1 - card data busy.
sourcepub fn data_state_mc_busy(&self) -> DATA_STATE_MC_BUSY_R
pub fn data_state_mc_busy(&self) -> DATA_STATE_MC_BUSY_R
Bit 10 - Data transmit or receive state-machine is busy.
sourcepub fn response_index(&self) -> RESPONSE_INDEX_R
pub fn response_index(&self) -> RESPONSE_INDEX_R
Bits 11:16 - Index of previous response, including any auto-stop sent by core.
sourcepub fn fifo_count(&self) -> FIFO_COUNT_R
pub fn fifo_count(&self) -> FIFO_COUNT_R
Bits 17:29 - FIFO count - Number of filled locations in FIFO.
Methods from Deref<Target = R<STATUS_SPEC>>
Trait Implementations
sourceimpl From<R<STATUS_SPEC>> for R
impl From<R<STATUS_SPEC>> for R
sourcefn from(reader: R<STATUS_SPEC>) -> Self
fn from(reader: R<STATUS_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more