Enum capsules::sdcard::SpiState [] [src]

enum SpiState {
    Idle,
    SendManufSpecificCmd {
        cmd: SDCmd,
        arg: u32,
    },
    InitReset,
    InitCheckVersion,
    InitRepeatHCSInit,
    InitCheckCapacity,
    InitAppSpecificInit,
    InitRepeatAppSpecificInit,
    InitRepeatGenericInit,
    InitSetBlocksize,
    InitComplete,
    StartReadBlocks {
        count: u32,
    },
    WaitReadBlock,
    ReadBlockComplete,
    WaitReadBlocks {
        count: u32,
    },
    ReceivedBlock {
        count: u32,
    },
    ReadBlocksComplete,
    StartWriteBlocks {
        count: u32,
    },
    WriteBlockResponse,
    WriteBlockBusy,
    WaitWriteBlockBusy,
}

SPI states

Variants

Fields of SendManufSpecificCmd

Fields of StartReadBlocks

Fields of WaitReadBlocks

Fields of ReceivedBlock

Fields of StartWriteBlocks

Trait Implementations

impl Clone for SpiState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for SpiState
[src]

impl Debug for SpiState
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SpiState
[src]

[src]

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

[src]

This method tests for !=.