sdmmc-core 0.5.0

SD/MMC core data structures and algorithms
Documentation
use crate::command;
use crate::command::{CommandClass, CommandClass2, CommandType};
use crate::response::ResponseType;

mod arg;

pub use arg::*;

command! {
    /// Represents the command format for `CMD17`.
    Cmd17 {
        command_type: CommandType::Adtc,
        command_class: CommandClass::Class2(CommandClass2::ReadSingleBlock),
        command_index: 17,
        argument: Argument,
        default_arg: [0, 0, 0, 0],
        response_type: ResponseType::R1,
    }
}