Open
Description
SD/MMC Trait
This RFC proposal is to add a set of traits for abstracting common functionality for handling SD/MMC peripherals.
Why
Currently, drivers based on embedded-hal
that implement the SD/MMC protocol, like embedded-sdmmc-rs, are based on the Spi
traits.
However, traits that are more generally abstract over SD/MMC functionality will allow for a wider range of driver implementations.
For example, drivers for SD/SDIO/MMC peripherals, in various modes and specification versions.
Reference Implementation Requirements
This tracking issue is accompanied with a reference implementation to add the traits to embedded-hal
:
- sdmmc: add HAL traits for SD/MMC peripherals
- SD/SDIO intialization
- variants for SPI quirks
MMC initialization- variants for SPI quirks
Sending commands to the deviceReading responses from the deviceData transfers (read
/write
)Separate, relatedasync
implementation (?)Delay/wait functionalityTuningInterrupt configuration + handlingFIFO configuration + handlingDMA configuration + handling
Activity
[-][RFC] mmc: add types + traits for SD/MMC peripherals[/-][+][RFC] [proposal] mmc: add types + traits for SD/MMC peripherals[/+]