pub struct R(_);
Expand description
Register STATUS
reader
Implementations§
§impl R
impl R
pub fn fifo_rx_watermark(&self) -> BitReaderRaw<bool>
pub fn fifo_rx_watermark(&self) -> BitReaderRaw<bool>
Bit 0 - FIFO reached Receive watermark level, not qualified with data transfer.
pub fn fifo_tx_watermark(&self) -> BitReaderRaw<bool>
pub fn fifo_tx_watermark(&self) -> BitReaderRaw<bool>
Bit 1 - FIFO reached Transmit watermark level, not qualified with data transfer.
pub fn fifo_empty(&self) -> BitReaderRaw<bool>
pub fn fifo_empty(&self) -> BitReaderRaw<bool>
Bit 2 - FIFO is empty status.
pub fn command_fsm_states(&self) -> FieldReaderRaw<u8, u8>
pub fn command_fsm_states(&self) -> FieldReaderRaw<u8, u8>
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.
pub fn data_3_status(&self) -> BitReaderRaw<bool>
pub fn data_3_status(&self) -> BitReaderRaw<bool>
Bit 8 - Raw selected sdhost_card_data[3], checks whether card is present. 0: card not present; 1: card present.
pub fn data_busy(&self) -> BitReaderRaw<bool>
pub fn data_busy(&self) -> BitReaderRaw<bool>
Bit 9 - Inverted version of raw selected sdhost_card_data[0]. 0: Card data not busy; 1: Card data busy.
pub fn data_state_mc_busy(&self) -> BitReaderRaw<bool>
pub fn data_state_mc_busy(&self) -> BitReaderRaw<bool>
Bit 10 - Data transmit or receive state-machine is busy.
pub fn response_index(&self) -> FieldReaderRaw<u8, u8>
pub fn response_index(&self) -> FieldReaderRaw<u8, u8>
Bits 11:16 - Index of previous response, including any auto-stop sent by core.
pub fn fifo_count(&self) -> FieldReaderRaw<u16, u16>
pub fn fifo_count(&self) -> FieldReaderRaw<u16, u16>
Bits 17:29 - FIFO count, number of filled locations in FIFO.
Methods from Deref<Target = R<STATUS_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.