Crate sdmmc_core

Source
Expand description

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.
RangeI16
Represents ranged type over a bounded range of values.
RangeI32
Represents ranged type over a bounded range of values.
RangeI64
Represents ranged type over a bounded range of values.
RangeIsize
Represents ranged type over a bounded range of values.
RangeU8
Represents ranged type over a bounded range of values.
RangeU16
Represents ranged type over a bounded range of values.
RangeU32
Represents ranged type over a bounded range of values.
RangeU64
Represents ranged type over a bounded range of values.
RangeUsize
Represents ranged type over a bounded range of values.

Enums§

CardState
Represents the card states of an SD card.
Error
Represents MMC error types.
OperationMode
Represents the operation modes of an SD card.

Constants§

EILSEQ
EINVAL
ENOMEDIUM
ETIMEDOUT
NEILSEQ
NEINVAL
NENOMEDIUM
NETIMEDOUT

Type Aliases§

RangedIndex
Convenience alias for a ranged index type.
Result
Convenience alias for the MMC Result type.