sdmmc
A sdmmc implementation mainly focusing on embedded system with
no_stdandasyncsupport
Using this crate
Assuming you already have SPI struct which implements sdmmc::spi::Transfer
let mut bus = spi?;
let card = bus.init.await?;
debug!;
let mut sd = SDinit.await?;
let size = from_bytes;
debug!;
let options = SpidevOptions ;
sd.bus.unwrap;
let mut buffer = ;
sd.read.await?;
let mbr = from_bytes?;
for partition in mbr.partition_table_entries.iter
Ok
Features
-
async
Enable async support
-
embedded-hal-async
Enable embedded-hal-async support
-
std
Use std library
-
linux-spi
Enable linux SPI support
-
log-max-level-off
Disable logging at compile time