27#include "periph_cpu.h"
28#include "periph_conf_common.h"
40 .
dev = &SERCOM5->USART,
43#ifdef MODULE_PERIPH_UART_HW_FC
54 .dev = &SERCOM4->USART,
57#ifdef MODULE_PERIPH_UART_HW_FC
70#define UART_0_ISR isr_sercom5
71#define UART_1_ISR isr_sercom4
73#define UART_NUMOF ARRAY_SIZE(uart_config)
95#define SPI_NUMOF ARRAY_SIZE(spi_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
@ UART_PAD_RX_3
select pad 3
@ SPI_PAD_MISO_3
use pad 3 for MISO line
@ 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
@ SPI_PAD_MOSI_0_SCK_1
use pad 0 for MOSI, pad 1 for SCK
#define SAM0_GCLK_MAIN
120 MHz main clock
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
UART device configuration.
USART_t * dev
pointer to the used UART device