91 void *rx_buf,
size_t rx_cnt);
bool mmc_arch_get_wp(uint8_t dev)
Gets the state of the write-protection signal.
bool mmc_arch_get_cd(uint8_t dev)
Gets the state of the card-detection signal.
void mmc_arch_spi_select(uint8_t dev, bool sel)
Sets the SPI /CS signal as indicated.
void mmc_arch_spi_set_clock_freq(uint8_t dev, uint32_t freq)
Sets the SPI clock frequency.
void mmc_arch_cd_changed_callback(uint8_t dev, bool cd)
Callback of the SD/MMC driver to call when the card-detection signal changes.
void mmc_arch_spi_xfer(uint8_t dev, const void *tx_buf, size_t tx_cnt, void *rx_buf, size_t rx_cnt)
Performs an SPI transfer.