Contiki-NG
|
Implementation of the SD/MMC device driver RE-Mote-specific definitions. More...
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include "dev/spi-arch-legacy.h"
#include "dev/ioc.h"
#include "dev/gpio.h"
#include "dev/spi-legacy.h"
#include "mmc-arch.h"
Go to the source code of this file.
Functions | |
bool | mmc_arch_get_cd (uint8_t dev) |
Gets the state of the card-detection signal. More... | |
bool | mmc_arch_get_wp (uint8_t dev) |
Gets the state of the write-protection signal. More... | |
void | mmc_arch_spi_select (uint8_t dev, bool sel) |
Sets the SPI /CS signal as indicated. More... | |
void | mmc_arch_spi_set_clock_freq (uint8_t dev, uint32_t freq) |
Sets the SPI clock frequency. More... | |
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. More... | |
Implementation of the SD/MMC device driver RE-Mote-specific definitions.
Definition in file mmc-arch.c.