periph_conf.h File Reference

Peripheral MCU configuration for the Firefly board revision A. More...

Detailed Description

Peripheral MCU configuration for the Firefly board revision A.

Author
Anon Mall anon..nosp@m.mall.nosp@m.@gt-a.nosp@m.rc.c.nosp@m.om

Definition in file periph_conf.h.

#include "cfg_adc_default.h"
#include "cfg_clk_default.h"
#include "cfg_i2c_default.h"
#include "cfg_timer_default.h"
#include "cfg_uart_default.h"
+ Include dependency graph for periph_conf.h:

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[]
static
Initial value:
= {
{
.num = 0,
.mosi_pin = GPIO_PIN(PORT_B, 1),
.miso_pin = GPIO_PIN(PORT_B, 3),
.sck_pin = GPIO_PIN(PORT_B, 2),
.cs_pin = GPIO_UNDEF
},
{
.num = 1,
.mosi_pin = GPIO_PIN(PORT_C, 5),
.miso_pin = GPIO_PIN(PORT_C, 6),
.sck_pin = GPIO_PIN(PORT_C, 4),
.cs_pin = GPIO_PIN(PORT_A, 7)
}
}
port C
Definition: periph_cpu.h:38
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
port A
Definition: periph_cpu.h:36
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35
port B
Definition: periph_cpu.h:37

Definition at line 36 of file periph_conf.h.