boards/remote-reva/include/periph_conf.h File Reference

Peripheral MCU configuration for the RE-Mote board revision A. More...

Detailed Description

Peripheral MCU configuration for the RE-Mote board revision A.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Antonio Lignan alina.nosp@m.n@zo.nosp@m.lerti.nosp@m.a.co.nosp@m.m
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file boards/remote-reva/include/periph_conf.h.

#include "periph_common.h"
+ Include dependency graph for boards/remote-reva/include/periph_conf.h:

Go to the source code of this file.

I2C configuration

#define I2C_IRQ_PRIO   1
 
#define I2C_NUMOF   (sizeof(i2c_config) / sizeof(i2c_config[0]))
 
static const i2c_conf_t i2c_config []
 

SPI configuration

#define SPI_NUMOF   (sizeof(spi_config) / sizeof(spi_config[0]))
 
static const spi_conf_t spi_config []
 

ADC configuration

#define SOC_ADC_ADCCON_REF   SOC_ADC_ADCCON_REF_AVDD5
 
#define ADC_NUMOF   (sizeof(adc_config) / sizeof(adc_config[0]))
 
static const adc_conf_t adc_config []
 

Variable Documentation

◆ adc_config

const adc_conf_t adc_config[]
static
Initial value:
= {
GPIO_PIN(0, 5),
GPIO_PIN(0, 4),
GPIO_PIN(0, 2),
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.

Definition at line 78 of file boards/remote-reva/include/periph_conf.h.

◆ i2c_config

const i2c_conf_t i2c_config[]
static
Initial value:
= {
{
.speed = I2C_SPEED_FAST,
.scl_pin = GPIO_PIN(2, 3),
.sda_pin = GPIO_PIN(2, 2)
},
}
fast mode: ~400kbit/s
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.

Definition at line 37 of file boards/remote-reva/include/periph_conf.h.

◆ spi_config

const spi_conf_t spi_config[]
static
Initial value:
= {
{
.num = 0,
.mosi_pin = GPIO_PIN(1, 1),
.miso_pin = GPIO_PIN(1, 3),
.sck_pin = GPIO_PIN(1, 2),
.cs_pin = GPIO_PIN(1, 5)
},
{
.num = 1,
.mosi_pin = GPIO_PIN(2, 5),
.miso_pin = GPIO_PIN(2, 6),
.sck_pin = GPIO_PIN(2, 4),
.cs_pin = GPIO_PIN(0, 7)
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.

Definition at line 52 of file boards/remote-reva/include/periph_conf.h.