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
16
17
use crate::command;
use crate::command::{CommandClass, CommandClass8, CommandType};
use crate::response::ResponseType;

pub use crate::command::null::Argument;

command! {
    /// Represents the command format for `ACMD51`.
    Acmd51 {
        command_type: CommandType::Adtc,
        command_class: CommandClass::Class8(CommandClass8::SendScr),
        command_index: 51,
        argument: Argument,
        default_arg: [0, 0, 0, 0],
        response_type: ResponseType::R1,
    }
}