23 #include "periph_cpu.h" 
   24 #include "periph_conf_common.h" 
   36         .
dev      = &SERCOM5->USART,
 
   39 #ifdef MODULE_PERIPH_UART_HW_FC 
   50         .dev      = &SERCOM4->USART,
 
   53 #ifdef MODULE_PERIPH_UART_HW_FC 
   66 #define UART_0_ISR          isr_sercom5 
   67 #define UART_1_ISR          isr_sercom4 
   69 #define UART_NUMOF          ARRAY_SIZE(uart_config) 
   91 #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.
 
static const uart_conf_t uart_config[]
UART configuration.
 
static const spi_conf_t spi_config[]
SPI configuration.
 
@ 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