sdmmc-core 0.5.0

SD/MMC core data structures and algorithms
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::{Error, lib_enum};

lib_enum! {
    /// Represents the `Speed Class Control` field for legacy and UHS speed mode.
    SpeedClassControl: u8 {
        default: StartRecording,
        error: Error,
        /// Indicates that the host starts stream recording.
        StartRecording = 0b0000,
        /// Indicates the following write is a directory entry write.
        UpdateDIR = 0b0001,
        /// Indicates the following write command is a write to a CI cluster.
        UpdateCI = 0b0100,
    }
}