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
use crate::lib_enum;
use crate::result::Error;

lib_enum! {
    /// Represents the `Voltage Host Supplied` argument field for `CMD8`.
    VoltageSupplied: u8 {
        default: V2736,
        error: Error,
        /// Indicates the host voltage is in the range: 2.7-3.6V.
        V2736 = 0b0001,
        /// Indicates the host uses low voltage.
        LowVoltage = 0b0010,
    }
}