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"
Include dependency graph for periph_conf.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 [] |
|
static |
Definition at line 90 of file periph_conf.h.
|
static |
Definition at line 112 of file periph_conf.h.
|
static |
Definition at line 40 of file periph_conf.h.