sdcard_spi_params.h File Reference

SD card configuration for the Arduino SD card shields. More...

Detailed Description

SD card configuration for the Arduino SD card shields.

Author
Michel Rottleuthner miche.nosp@m.l.ro.nosp@m.ttleu.nosp@m.thne.nosp@m.r@haw.nosp@m.-ham.nosp@m.burg..nosp@m.de
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file sdcard_spi_params.h.

#include "arduino_pinmap.h"
+ Include dependency graph for sdcard_spi_params.h:

Go to the source code of this file.

Variables

static const sdcard_spi_params_t sdcard_spi_params []
 sdcard_spi configuration More...
 

Default configuration for the sdcard_spi driver

#define SDCARD_SPI_PARAM_SPI   (SPI_DEV(0))
 
#define SDCARD_SPI_PARAM_CS   (ARDUINO_PIN_4)
 
#define SDCARD_SPI_PARAM_CLK   (ARDUINO_PIN_76)
 
#define SDCARD_SPI_PARAM_MOSI   (ARDUINO_PIN_75)
 
#define SDCARD_SPI_PARAM_MISO   (ARDUINO_PIN_74)
 
#define SDCARD_SPI_PARAM_POWER   (GPIO_UNDEF)
 
#define SDCARD_SPI_PARAM_POWER_AH   (true)
 treated as 'don't care' if SDCARD_SPI_PARAM_POWER is GPIO_UNDEF
 

Variable Documentation

◆ sdcard_spi_params

const sdcard_spi_params_t sdcard_spi_params[]
static
Initial value:
= {
{
.spi_dev = SDCARD_SPI_PARAM_SPI,
.cs = SDCARD_SPI_PARAM_CS,
.clk = SDCARD_SPI_PARAM_CLK,
.mosi = SDCARD_SPI_PARAM_MOSI,
.miso = SDCARD_SPI_PARAM_MISO,
.power = SDCARD_SPI_PARAM_POWER,
.power_act_high = SDCARD_SPI_PARAM_POWER_AH
},
}

sdcard_spi configuration

Definition at line 61 of file sdcard_spi_params.h.

SDCARD_SPI_PARAM_POWER_AH
#define SDCARD_SPI_PARAM_POWER_AH
treated as 'don't care' if SDCARD_SPI_PARAM_POWER is GPIO_UNDEF
Definition: sdcard_spi_params.h:54