Configuration of CPU peripherals for the SODAQ SARA AFF boards. More...
Configuration of CPU peripherals for the SODAQ SARA AFF boards.
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_spi_default.h"
#include "cfg_timer_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
UART configuration | |
See Table 7-1 of the SAM D21 Datasheet (p. 29) | |
#define | UART_0_ISR isr_sercom5 |
#define | UART_1_ISR isr_sercom0 |
#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 [] |
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 91 of file periph_conf.h.
#define ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND |
Definition at line 90 of file periph_conf.h.
#define ADC_NUMOF ARRAY_SIZE(adc_channels) |
Definition at line 109 of file periph_conf.h.
#define ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512 |
Definition at line 88 of file periph_conf.h.
#define ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1 |
Definition at line 92 of file periph_conf.h.
#define I2C_NUMOF ARRAY_SIZE(i2c_config) |
Definition at line 127 of file periph_conf.h.
#define UART_0_ISR isr_sercom5 |
Definition at line 76 of file periph_conf.h.
#define UART_1_ISR isr_sercom0 |
Definition at line 77 of file periph_conf.h.
#define UART_NUMOF ARRAY_SIZE(uart_config) |
Definition at line 79 of file periph_conf.h.
|
static |
Definition at line 94 of file periph_conf.h.
|
static |
Definition at line 116 of file periph_conf.h.
|
static |
Definition at line 44 of file periph_conf.h.