#[repr(u8)]pub enum CMD {
Show 15 variants
CMD0 = 0,
CMD8 = 8,
CMD9 = 9,
CMD10 = 10,
CMD12 = 12,
CMD16 = 16,
CMD17 = 17,
CMD18 = 18,
ACMD23 = 23,
CMD24 = 24,
CMD25 = 25,
ACMD41 = 41,
CMD55 = 55,
CMD58 = 58,
CMD59 = 59,
}Expand description
SD commands
Variants§
CMD0 = 0
Software reset
CMD8 = 8
Check voltage range (SDC V2)
CMD9 = 9
Read CSD register
CMD10 = 10
Read CID register
CMD12 = 12
Stop to read data
CMD16 = 16
Change R/W block size
CMD17 = 17
Read block
CMD18 = 18
Read multiple blocks
ACMD23 = 23
Number of blocks to erase (SDC)
CMD24 = 24
Write a block
CMD25 = 25
Write multiple blocks
ACMD41 = 41
Initiate initialization process (SDC)
CMD55 = 55
Leading command for ACMD*
CMD58 = 58
Read OCR
CMD59 = 59
Enable/disable CRC check
Trait Implementations§
impl Copy for CMD
impl Eq for CMD
impl StructuralPartialEq for CMD
Auto Trait Implementations§
impl Freeze for CMD
impl RefUnwindSafe for CMD
impl Send for CMD
impl Sync for CMD
impl Unpin for CMD
impl UnwindSafe for CMD
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more