[][src]Struct lpc55s6x_pac::sdif::status::R

pub struct R { /* fields omitted */ }

Value read from the register

Methods

impl R[src]

pub fn bits(&self) -> u32[src]

Value of the register as raw bits

pub fn fifo_rx_watermark(&self) -> FIFO_RX_WATERMARKR[src]

Bit 0 - FIFO reached Receive watermark level; not qualified with data transfer.

pub fn fifo_tx_watermark(&self) -> FIFO_TX_WATERMARKR[src]

Bit 1 - FIFO reached Transmit watermark level; not qualified with data transfer.

pub fn fifo_empty(&self) -> FIFO_EMPTYR[src]

Bit 2 - FIFO is empty status.

pub fn fifo_full(&self) -> FIFO_FULLR[src]

Bit 3 - FIFO is full status.

pub fn cmdfsmstates(&self) -> CMDFSMSTATESR[src]

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.

pub fn data_3_status(&self) -> DATA_3_STATUSR[src]

Bit 8 - Raw selected card_data[3]; checks whether card is present 0 - card not present 1 - card present.

pub fn data_busy(&self) -> DATA_BUSYR[src]

Bit 9 - Inverted version of raw selected card_data[0] 0 - card data not busy 1 - card data busy.

pub fn data_state_mc_busy(&self) -> DATA_STATE_MC_BUSYR[src]

Bit 10 - Data transmit or receive state-machine is busy.

pub fn response_index(&self) -> RESPONSE_INDEXR[src]

Bits 11:16 - Index of previous response, including any auto-stop sent by core.

pub fn fifo_count(&self) -> FIFO_COUNTR[src]

Bits 17:29 - FIFO count - Number of filled locations in FIFO.

pub fn dma_ack(&self) -> DMA_ACKR[src]

Bit 30 - DMA acknowledge signal state.

pub fn dma_req(&self) -> DMA_REQR[src]

Bit 31 - DMA request signal state.

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self