27#include "periph_cpu.h"
40 .dev = &SERCOM5->USART,
43#ifdef MODULE_PERIPH_UART_HW_FC
56#define UART_0_ISR isr_sercom5
58#define UART_NUMOF ARRAY_SIZE(uart_config)
77#ifdef MODULE_PERIPH_DMA
78 .tx_trigger = SERCOM1_DMAC_ID_TX,
79 .rx_trigger = SERCOM1_DMAC_ID_RX,
93#ifdef MODULE_PERIPH_DMA
94 .tx_trigger = SERCOM2_DMAC_ID_TX,
95 .rx_trigger = SERCOM2_DMAC_ID_RX,
100#define SPI_NUMOF ARRAY_SIZE(spi_config)
Common configuration for clock, timer, pwm, adc, rtc and rtt peripherals for Arduino MKR boards.
#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_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.
UART device configuration.