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
Idle
SendManufSpecificCmd
Fields of SendManufSpecificCmd
cmd: SDCmd | |
arg: u32 |
InitReset
InitCheckVersion
InitRepeatHCSInit
InitCheckCapacity
InitAppSpecificInit
InitRepeatAppSpecificInit
InitRepeatGenericInit
InitSetBlocksize
InitComplete
StartReadBlocks
Fields of StartReadBlocks
count: u32 |
WaitReadBlock
ReadBlockComplete
WaitReadBlocks
Fields of WaitReadBlocks
count: u32 |
ReceivedBlock
Fields of ReceivedBlock
count: u32 |
ReadBlocksComplete
StartWriteBlocks
Fields of StartWriteBlocks
count: u32 |
WriteBlockResponse
WriteBlockBusy
WaitWriteBlockBusy
Trait Implementations
impl Clone for SpiState
[src]
fn clone(&self) -> SpiState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for SpiState
[src]
impl Debug for SpiState
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more