sdmmc-protocol 0.4.1

no_std SD/MMC protocol building blocks for embedded systems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use rdif_block::RequestId;

#[derive(Clone, Copy, Debug)]
pub(super) enum SplitDirection {
    Read,
    Write,
}

pub(super) struct SplitTransfer {
    pub(super) direction: SplitDirection,
    pub(super) public_id: RequestId,
    pub(super) next_card_block: u32,
    pub(super) block_addr_step: u32,
    pub(super) buffer_addr: usize,
    pub(super) next_offset: usize,
    pub(super) remaining_blocks: u32,
}