pub enum CurrentState {
    Ready,
    Identification,
    Standby,
    Transfer,
    Sending,
    Receiving,
    Programming,
    Disconnected,
    BusTest,
    Sleep,
    Error,
}
Expand description

CURRENT_STATE enum. Used for R1 response in command queue mode in SD spec, or all R1 responses in eMMC spec.

Ref PLSS_v7_10 Table 4-75 Ref JESD84-B51 Table 68

Variants

Ready

Card state is ready

Identification

Card is in identification state

Standby

Card is in standby state

Transfer

Card is in transfer state

Sending

Card is sending an operation

Receiving

Card is receiving operation information

Programming

Card is in programming state

Disconnected

Card is disconnected

BusTest

Card is in bus testing mode. Only valid for eMMC (reserved by SD spec).

Sleep

Card is in sleep mode. Only valid for eMMC (reserved by SD spec).

Error

Error

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.