sdmmc-core 0.5.0

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

mod arg;

pub use arg::*;

command! {
    /// Represents the command format for `CMD24`.
    Cmd24 {
        command_type: CommandType::Adtc,
        command_class: CommandClass::Class4(CommandClass4::WriteBlock),
        command_index: 24,
        argument: Argument,
        default_arg: [0, 0, 0, 0],
        response_type: ResponseType::R1,
    }
}