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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

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

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

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

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

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

Bit 2 - FIFO is empty status.

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

Bit 3 - FIFO is full status.

pub fn cmdfsmstates(&mut self) -> _CMDFSMSTATESW[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(&mut self) -> _DATA_3_STATUSW[src]

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

pub fn data_busy(&mut self) -> _DATA_BUSYW[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(&mut self) -> _DATA_STATE_MC_BUSYW[src]

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

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

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

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

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

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

Bit 30 - DMA acknowledge signal state.

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

Bit 31 - DMA request signal state.

Auto Trait Implementations

impl Send for W

impl Sync for W

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