Expand description
SD/MMC abstraction for SD memory cards.
Based on:
Re-exports§
pub use command::*;
Modules§
- command
- Command types for the SD/MMC bus protocols.
- register
- Register types and functions for the SD/MMC bus protocols.
- response
- Response types for SD/MMC bus protocols.
- tuning
- Tuning block data.
Macros§
- bitflag_
is_ set - Implements a function to determine if a
bitflag
has a set flag. - check_
bitfield - Helper macro to check bitfield invariants at compile-time.
- command
- Convenience macro to define a
Command
type. - command_
enum - Convenience macro to define a wrapper enum around command class variants.
- const_
try - Helper macro for a
const
version of the?
operator. - data_
block - lib_
bitfield - Macro to define a bitfield struct.
- lib_
bitfield_ impl - Inner implementation of the bitfield accessor functions.
- lib_
bool_ enum - Convenience macro to define a library boolean enum.
- lib_
enum - Convenience macro to define a library enum.
- lib_
struct - Convenience macro to define a library struct.
- response
- Convenience macro to define response types.
- response_
enum - Convenience macro to define a response type wrapper enum.
- test_
field - Convenience macro for testing bitfields.
Structs§
- Crc7
- Represents the 7-bit CRC used to protect SD memory card commands, responses, and data transfer messages.
- Crc16
- Represents the 16-bit CRC used to protect SD memory card commands, responses, and data transfer messages.
- RangeI8
- Represents ranged type over a bounded range of values.
- Range
I16 - Represents ranged type over a bounded range of values.
- Range
I32 - Represents ranged type over a bounded range of values.
- Range
I64 - Represents ranged type over a bounded range of values.
- Range
Isize - Represents ranged type over a bounded range of values.
- RangeU8
- Represents ranged type over a bounded range of values.
- Range
U16 - Represents ranged type over a bounded range of values.
- Range
U32 - Represents ranged type over a bounded range of values.
- Range
U64 - Represents ranged type over a bounded range of values.
- Range
Usize - Represents ranged type over a bounded range of values.
Enums§
- Card
State - Represents the card states of an SD card.
- Error
- Represents MMC error types.
- Operation
Mode - Represents the operation modes of an SD card.
Constants§
Type Aliases§
- Ranged
Index - Convenience alias for a ranged index type.
- Result
- Convenience alias for the MMC
Result
type.