boards/iotlab-a8-m3/include/periph_conf.h File Reference

Peripheral MCU configuration for the iotlab-m3 board. More...

Detailed Description

#include "periph_cpu.h"
#include "periph_conf_common.h"
+ Include dependency graph for boards/iotlab-a8-m3/include/periph_conf.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   (sizeof(spi_config) / sizeof(spi_config[0]))
 
static const spi_conf_t spi_config []
 

Variable Documentation

◆ spi_config

const spi_conf_t spi_config[]
static
Initial value:
= {
{
.dev = SPI2,
.mosi_pin = GPIO_PIN(PORT_B, 15),
.miso_pin = GPIO_PIN(PORT_B, 14),
.sclk_pin = GPIO_PIN(PORT_B, 13),
.cs_pin = GPIO_UNDEF,
.rccmask = RCC_APB1ENR_SPI2EN,
.apbbus = APB1
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Define a custom GPIO_UNDEF value.

Definition at line 34 of file boards/iotlab-a8-m3/include/periph_conf.h.