periph_conf.h File Reference

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

Detailed Description

Peripheral MCU configuration for the iotlab-m3 board.

Thomas Eichinger
Hauke Petersen

Definition in file periph_conf.h.

#include "periph_cpu.h"
#include "periph_conf_common.h"
+ Include dependency graph for 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   ARRAY_SIZE(spi_config)
static const spi_conf_t spi_config []

Variable Documentation

◆ spi_config

const spi_conf_t spi_config[]
Initial value:
= {
.dev = SPI1,
.mosi_pin = GPIO_PIN(PORT_A, 7),
.miso_pin = GPIO_PIN(PORT_A, 6),
.sclk_pin = GPIO_PIN(PORT_A, 5),
.cs_pin = GPIO_UNDEF,
.rccmask = RCC_APB2ENR_SPI1EN,
.apbbus = APB2,
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
port A
Definition: periph_cpu.h:36
APB2 bus.
Definition: periph_cpu.h:172
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35

Definition at line 34 of file periph_conf.h.