sdcard_spi_params.h File Reference

SD card configuration for SenseBox MCU with SAMD21 board. More...

Detailed Description

SD card configuration for SenseBox MCU with SAMD21 board.

This configuration considers that SD is connected to the XBEE2 port.

Author
Leandro Lanzieri leand.nosp@m.ro.l.nosp@m.anzie.nosp@m.ri@h.nosp@m.aw-ha.nosp@m.mbur.nosp@m.g.de

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   (XBEE2_INT_PIN)
 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 = XBEE2_CS_PIN,
.clk = GPIO_PIN(PA, 17),
.mosi = GPIO_PIN(PA, 16),
.miso = GPIO_PIN(PA, 19),
.power = GPIO_UNDEF,
.power_act_high = true
},
}
port A
Definition: periph_cpu.h:87
#define SPI_DEV(x)
SPI_DEV to SPI hardware mapping.
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35

sdcard_spi configuration

Definition at line 38 of file sdcard_spi_params.h.