Configuration of CPU peripherals for the SODAQ ONE board. More...
Configuration of CPU peripherals for the SODAQ ONE board.
Definition in file periph_conf.h.
#include <stdint.h>
#include "cpu.h"
#include "periph_cpu.h"
#include "cfg_clock_default.h"
#include "cfg_rtc_default.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
UART configuration | |
See Table 6.1 of the SAM D21 Datasheet | |
#define | UART_0_ISR isr_sercom5 |
#define | UART_1_ISR isr_sercom2 |
#define | UART_NUMOF ARRAY_SIZE(uart_config) |
static const uart_conf_t | uart_config [] |
ADC configuration | |
#define | ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512 |
#define | ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND |
#define | ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2 |
#define | ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1 |
#define | ADC_NUMOF ARRAY_SIZE(adc_channels) |
static const adc_conf_chan_t | adc_channels [] |
SPI configuration | |
#define | SPI_NUMOF ARRAY_SIZE(spi_config) |
static const spi_conf_t | spi_config [] |
I2C configuration | |
#define | I2C_NUMOF ARRAY_SIZE(i2c_config) |
static const i2c_conf_t | i2c_config [] |
#define ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2 |
Definition at line 88 of file periph_conf.h.
#define ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND |
Definition at line 87 of file periph_conf.h.
#define ADC_NUMOF ARRAY_SIZE(adc_channels) |
Definition at line 112 of file periph_conf.h.
#define ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512 |
Definition at line 85 of file periph_conf.h.
#define ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1 |
Definition at line 89 of file periph_conf.h.
#define I2C_NUMOF ARRAY_SIZE(i2c_config) |
Definition at line 156 of file periph_conf.h.
#define SPI_NUMOF ARRAY_SIZE(spi_config) |
Definition at line 138 of file periph_conf.h.
#define UART_0_ISR isr_sercom5 |
Definition at line 73 of file periph_conf.h.
#define UART_1_ISR isr_sercom2 |
Definition at line 74 of file periph_conf.h.
#define UART_NUMOF ARRAY_SIZE(uart_config) |
Definition at line 76 of file periph_conf.h.
|
static |
Definition at line 91 of file periph_conf.h.
|
static |
Definition at line 145 of file periph_conf.h.
|
static |
Definition at line 119 of file periph_conf.h.
|
static |
Definition at line 41 of file periph_conf.h.