Struct esp32_hal::pac::sdmmc::status::R

pub struct R(_);
Expand description

Register STATUS reader

Implementations§

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

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

Bit 2 - FIFO is empty status.

Bit 3 - FIFO is full status.

Bits 4:7 - Command FSM states. 0: Idle; 1: Send init sequence; 2: Send cmd start bit; 3: Send cmd tx bit; 4: Send cmd index + arg; 5: Send cmd crc7; 6: Send cmd end bit; 7: Receive resp start bit; 8: Receive resp IRQ response; 9: Receive resp tx bit; 10: Receive resp cmd idx; 11: Receive resp data; 12: Receive resp crc7; 13: Receive resp end bit; 14: Cmd path wait NCC; 15: Wait, cmd-to-response turnaround.

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

Bit 9 - Inverted version of raw selected sdhost_card_data[0]. 0: Card data not busy; 1: Card data busy.

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

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

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

Methods from Deref<Target = R<STATUS_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.