sdmmc_core/command/class/class2/cmd20/arg/scc.rs
1use crate::{Error, lib_enum};
2
3lib_enum! {
4 /// Represents the `Speed Class Control` field for legacy and UHS speed mode.
5 SpeedClassControl: u8 {
6 default: StartRecording,
7 error: Error,
8 /// Indicates that the host starts stream recording.
9 StartRecording = 0b0000,
10 /// Indicates the following write is a directory entry write.
11 UpdateDIR = 0b0001,
12 /// Indicates the following write command is a write to a CI cluster.
13 UpdateCI = 0b0100,
14 }
15}