Structs§
- Cmd
- Host to Card commands
- R1
- R1: Normal response
- R2
- R2: CID and CSD register
- R3
- R3: OCR register
- Rz
- Marker for commands that don’t have any response
Enums§
- Response
Len - Command Response type
Traits§
Functions§
- all_
send_ cid - CMD2: Ask any card to send their CID
- app_cmd
- CMD55: App Command. Indicates that next command will be a app command
- card_
status - CMD13: Ask card to send status or task status
- cmd
- erase
- CMD38: Erase all previously selected write blocks
- go_
inactive_ state - CMD15: Sends card to inactive state
- idle
- CMD0: Put card in idle mode
- program_
csd - CMD27: Program CSD
- read_
multiple_ blocks - CMD18: Read multiple block from the card
- read_
single_ block - CMD17: Read a single block from the card
- select_
card - CMD7: Select or deselect card
- send_
cid - CMD10: Send CID
- send_
csd - CMD9: Send CSD
- set_
block_ length - CMD16: Set block len
- stop_
transmission - CMD12: Stop transmission
- write_
multiple_ blocks - CMD25: Write multiple blocks
- write_
single_ block - CMD24: Write block