23#include "periph_cpu.h"
24#include "periph_conf_common.h"
41 .rccmask = RCC_APB2ENR_SPI1EN,
43#ifdef MODULE_PERIPH_DMA
44 .tx_dma = DMA_STREAM_UNDEF,
46 .rx_dma = DMA_STREAM_UNDEF,
57 .rccmask = RCC_APB1ENR_SPI2EN,
59#ifdef MODULE_PERIPH_DMA
60 .tx_dma = DMA_STREAM_UNDEF,
62 .rx_dma = DMA_STREAM_UNDEF,
69#define SPI_NUMOF ARRAY_SIZE(spi_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define SPI_CS_UNDEF
Define value for unused CS line.
@ APB1
Advanced Peripheral Bus 1
@ APB2
Advanced Peripheral Bus 2
SPI device configuration.
SPI_t * dev
pointer to the used SPI device