Loading...
Searching...
No Matches
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
 

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
 

Macro Definition Documentation

◆ SDCARD_SPI_PARAM_CLK

#define SDCARD_SPI_PARAM_CLK   (ARDUINO_PIN_76)

Definition at line 41 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_CS

#define SDCARD_SPI_PARAM_CS   (ARDUINO_PIN_4)

Definition at line 38 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_MISO

#define SDCARD_SPI_PARAM_MISO   (ARDUINO_PIN_74)

Definition at line 47 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_MOSI

#define SDCARD_SPI_PARAM_MOSI   (ARDUINO_PIN_75)

Definition at line 44 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_POWER

#define SDCARD_SPI_PARAM_POWER   (GPIO_UNDEF)

Definition at line 50 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_POWER_AH

#define SDCARD_SPI_PARAM_POWER_AH   (true)

treated as 'don't care' if SDCARD_SPI_PARAM_POWER is GPIO_UNDEF

Definition at line 54 of file sdcard_spi_params.h.

◆ SDCARD_SPI_PARAM_SPI

#define SDCARD_SPI_PARAM_SPI   (SPI_DEV(0))

Definition at line 35 of file sdcard_spi_params.h.

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
},
}
#define SDCARD_SPI_PARAM_POWER_AH
treated as 'don't care' if SDCARD_SPI_PARAM_POWER is GPIO_UNDEF

sdcard_spi configuration

Definition at line 61 of file sdcard_spi_params.h.