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
IdleSendManufSpecificCmdFields of SendManufSpecificCmd
cmd: SDCmd | |
arg: u32 |
InitResetInitCheckVersionInitRepeatHCSInitInitCheckCapacityInitAppSpecificInitInitRepeatAppSpecificInitInitRepeatGenericInitInitSetBlocksizeInitCompleteStartReadBlocksFields of StartReadBlocks
count: u32 |
WaitReadBlockReadBlockCompleteWaitReadBlocksFields of WaitReadBlocks
count: u32 |
ReceivedBlockFields of ReceivedBlock
count: u32 |
ReadBlocksCompleteStartWriteBlocksFields of StartWriteBlocks
count: u32 |
WriteBlockResponseWriteBlockBusyWaitWriteBlockBusy
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