[][src]Struct sdio_host::CardStatus

pub struct CardStatus(_);

Card Status (R1)

Error and state information of an executed command

Ref PLSS_v7_10 Section 4.10.1

Implementations

impl CardStatus[src]

pub fn out_of_range(&self) -> bool[src]

Command's argument was out of range

pub fn address_error(&self) -> bool[src]

Misaligned address

pub fn block_len_error(&self) -> bool[src]

Block len error

pub fn erase_seq_error(&self) -> bool[src]

Error in the erase commands sequence

pub fn erase_param(&self) -> bool[src]

Invalid selection of blocks for erase

pub fn wp_violation(&self) -> bool[src]

Host attempted to write to protected area

pub fn card_is_locked(&self) -> bool[src]

Card is locked by the host

pub fn lock_unlock_failed(&self) -> bool[src]

Password error

pub fn com_crc_error(&self) -> bool[src]

Crc check of previous command failed

pub fn illegal_command(&self) -> bool[src]

Command is not legal for the card state

pub fn card_ecc_failed(&self) -> bool[src]

Card internal ECC failed

pub fn cc_error(&self) -> bool[src]

Internal controller error

pub fn error(&self) -> bool[src]

A General error occurred

pub fn csd_overwrite(&self) -> bool[src]

CSD error

pub fn wp_erase_skip(&self) -> bool[src]

Some blocks where skipped while erasing

pub fn ecc_disabled(&self) -> bool[src]

Command was executed without internal ECC

pub fn erase_reset(&self) -> bool[src]

Erase sequence was aborted

pub fn state(&self) -> CurrentState[src]

Current card state

pub fn ready_for_data(&self) -> bool[src]

Corresponds to buffer empty signaling on the bus

pub fn fx_event(&self) -> bool[src]

Extension function specific status

pub fn app_cmd(&self) -> bool[src]

The card will accept a ACMD

pub fn ake_seq_error(&self) -> bool[src]

Authentication sequence error

Trait Implementations

impl Clone for CardStatus[src]

impl Copy for CardStatus[src]

impl Debug for CardStatus[src]

impl From<u32> for CardStatus[src]

Auto Trait Implementations

impl Send for CardStatus

impl Sync for CardStatus

impl Unpin for CardStatus

Blanket Implementations

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

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

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

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

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