#[non_exhaustive]pub enum MciError {
Show 16 variants
DataError(CommandOrDataError),
CommandInhibited,
CommandError(CommandOrDataError),
Adma,
GroupBusy,
CiaCouldNotFindTuple,
IncorrectDataSize,
CouldNotSelectDevice,
NoCard,
UnusableCard,
ReadError,
WriteProtected,
WriteError,
PinLevelReadError,
Setup(SetupError),
Impl(ImplError),
}
Expand description
An MCI specific error
This error type contains errors specific to MCI (MultiMedia Card Interface) peripherals. Also it
has an Impl
kind to pass through implementation specific errors occurring while trying to use
an MCI peripheral.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DataError(CommandOrDataError)
Data Error, can be a CRC problem, timeout or end bit problem
CommandInhibited
Commands are inhibited from being processed at the moment
CommandError(CommandOrDataError)
There was a problem sending the command
Adma
ADMA error
GroupBusy
Function group trying to be accessed is busy
CiaCouldNotFindTuple
When trying to do get the CIA register could not find the correct tuple in the response
IncorrectDataSize
Supplied data size is either 0 or more than 512 bytes
CouldNotSelectDevice
Could not select and/or setup the card at the slot
NoCard
No card inserted
UnusableCard
Card is unusable
ReadError
Read error
WriteProtected
Card is write protected
WriteError
Write error
PinLevelReadError
Error reading a pin’s value
Setup(SetupError)
Setup error
Impl(ImplError)
Implementation specific error (shared across all peripheral specific error kinds)