Go to the documentation of this file.
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)
@ UART_PAD_RX_3
select pad 3
@ SAM0_GCLK_MAIN
48 MHz main clock
@ UART_PAD_TX_0
select pad 0
@ UART_FLAG_NONE
No flags set.
@ UART_PAD_TX_2
select pad 2
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
UART device configuration.
@ GPIO_MUX_C
select peripheral function C
@ SPI_PAD_MOSI_0_SCK_1
use pad 0 for MOSI, pad 1 for SCK
cc2538_uart_t * dev
pointer to the used UART device
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ SPI_PAD_MISO_3
use pad 0 for MISO line
@ GPIO_MUX_D
select peripheral function D
SPI_Type * dev
SPI device to use.
SPI configuration structure type.