Contiki-NG
Loading...
Searching...
No Matches

Header file for the SD/MMC device driver architecture-specific definitions. More...

#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Functions

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.
 
bool mmc_arch_get_cd (uint8_t dev)
 Gets the state of the card-detection signal.
 
bool mmc_arch_get_wp (uint8_t dev)
 Gets the state of the write-protection 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_spi_xfer (uint8_t dev, const void *tx_buf, size_t tx_cnt, void *rx_buf, size_t rx_cnt)
 Performs an SPI transfer.
 

Detailed Description

Header file for the SD/MMC device driver architecture-specific definitions.

Definition in file mmc-arch.h.