embedded-hal-sdmmc 0.1.0-alpha.1

A Hardware Abstraction Layer (HAL) for embedded SD/SDIO/eMMC peripherals
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
/// Represents SD/MMC command types.
#[repr(C)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum CommandType {
    /// Addressed commands: point-to-point, no data transfer on DAT.
    Ac = 0,
    /// Addressed commands: point-to-point, data transfer on DAT.
    Adtc = 1,
    /// Broadcast commands no response. Only available if all CMD lines connected.
    Bc = 2,
    /// Broadcast commands with response. Only available if all CMD lines separated.
    Bcr = 3,
}