22#include "periph_cpu.h"
23#include "cfg_clock_default.h"
25#include "cfg_rtt_default.h"
26#include "cfg_spi_default.h"
27#include "cfg_timer_default.h"
28#include "cfg_usbdev_default.h"
40 .
dev = &SERCOM5->USART,
43#ifdef MODULE_PERIPH_UART_HW_FC
54 .dev = &SERCOM4->USART,
57#ifdef MODULE_PERIPH_UART_HW_FC
68 .dev = &SERCOM0->USART,
71#ifdef MODULE_PERIPH_UART_HW_FC
84#define UART_0_ISR isr_sercom5
85#define UART_1_ISR isr_sercom4
86#define UART_2_ISR isr_sercom0
88#define UART_NUMOF ARRAY_SIZE(uart_config)
97#define ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512
99#define ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND
100#define ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2
101#define ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1
117#define ADC_NUMOF ARRAY_SIZE(adc_channels)
126 .
dev = &(SERCOM1->I2CM),
135 .dev = &(SERCOM2->I2CM),
144#define I2C_NUMOF ARRAY_SIZE(i2c_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Default RTC configuration for SODAQ boards.
@ UART_PAD_RX_1
select pad 1
@ I2C_FLAG_NONE
No flags set.
@ UART_FLAG_NONE
No flags set.
@ UART_PAD_TX_0_RTS_2_CTS_3
TX is pad 0, on top RTS on pad 2 and CTS on pad 3.
@ UART_PAD_TX_2
select pad 2
@ GPIO_MUX_D
select peripheral function D
@ GPIO_MUX_C
select peripheral function C
#define ADC_INPUTCTRL_MUXPOS_PB02
Alias for PIN10.
#define ADC_INPUTCTRL_MUXPOS_PA10
Alias for PIN18.
#define ADC_INPUTCTRL_MUXPOS_PA11
Alias for PIN19.
#define ADC_INPUTCTRL_MUXPOS_PA08
Alias for PIN16.
#define ADC_INPUTCTRL_MUXPOS_PA09
Alias for PIN17.
#define ADC_INPUTCTRL_MUXPOS_PB01
Alias for PIN9.
#define ADC_INPUTCTRL_MUXPOS_PA04
Alias for PIN4.
#define ADC_INPUTCTRL_MUXPOS_PB03
Alias for PIN11.
#define ADC_INPUTCTRL_MUXPOS_PB05
Alias for PIN13.
#define ADC_INPUTCTRL_MUXPOS_PB00
Alias for PIN8.
#define SAM0_GCLK_MAIN
120 MHz main clock
ADC Channel Configuration.
uint32_t inputctrl
ADC channel pin multiplexer value
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.
UART device configuration.
USART_t * dev
pointer to the used UART device