27#include "periph_cpu.h"
28#include "cfg_clock_default.h"
30#include "cfg_rtt_default.h"
31#include "cfg_spi_default.h"
32#include "cfg_timer_default.h"
33#include "cfg_usbdev_default.h"
46 .
dev = &SERCOM5->USART,
49#ifdef MODULE_PERIPH_UART_HW_FC
60 .dev = &SERCOM0->USART,
63#ifdef MODULE_PERIPH_UART_HW_FC
76#define UART_0_ISR isr_sercom5
77#define UART_1_ISR isr_sercom0
79#define UART_NUMOF ARRAY_SIZE(uart_config)
88#define ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512
90#define ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND
91#define ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2
92#define ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1
109#define ADC_NUMOF ARRAY_SIZE(adc_channels)
118 .
dev = &(SERCOM1->I2CM),
127#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
select pad 0
@ 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_PB03
Alias for PIN11.
#define ADC_INPUTCTRL_MUXPOS_PB05
Alias for PIN13.
#define ADC_INPUTCTRL_MUXPOS_PA02
ADC pin aliases.
#define ADC_INPUTCTRL_MUXPOS_PA03
Alias for PIN1.
#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