sdcard_spi_params.h File Reference

SD card configuration for the Adafruit Feather M0 Adalogger. More...

Detailed Description

SD card configuration for the Adafruit Feather M0 Adalogger.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file sdcard_spi_params.h.

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

Go to the source code of this file.

#define CARD_DETECT_PIN   (GPIO_PIN(PA, 21))
 Card detect pin.
 
static const sdcard_spi_params_t sdcard_spi_params []
 sdcard_spi configuration More...
 

Variable Documentation

◆ sdcard_spi_params

const sdcard_spi_params_t sdcard_spi_params[]
static
Initial value:
= {
{
.spi_dev = SPI_DEV(0),
.cs = GPIO_PIN(PA, 8),
.clk = GPIO_PIN(PB, 11),
.mosi = GPIO_PIN(PB, 10),
.miso = GPIO_PIN(PA, 12),
.power = GPIO_UNDEF,
.power_act_high = true
},
}
port A
Definition: periph_cpu.h:87
port B
Definition: periph_cpu.h:88
#define SPI_DEV(x)
Default SPI device access macro.
Definition: spi.h:86
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35

sdcard_spi configuration

Definition at line 36 of file sdcard_spi_params.h.