cfg_spi_default.h File Reference

Default SPI config for nRF52 based boards. More...

Detailed Description

Default SPI config for nRF52 based boards.

Hauke Petersen

Definition in file cfg_spi_default.h.

#include "periph_cpu.h"
+ Include dependency graph for cfg_spi_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

SPI configuration

#define SPI_NUMOF   ARRAY_SIZE(spi_config)
static const spi_conf_t spi_config []

Variable Documentation

◆ spi_config

const spi_conf_t spi_config[]
Initial value:
= {
.dev = NRF_SPI0,
.sclk = GPIO_PIN(0, 15),
.mosi = GPIO_PIN(0, 13),
.miso = GPIO_PIN(0, 14),
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35

Definition at line 33 of file cfg_spi_default.h.