21 #include "periph_cpu.h"
32 #define CLOCK_CORECLOCK (84000000UL)
34 #define CLOCK_EXT_OSC (12000000UL)
40 #define CLOCK_PLL_MUL (83)
41 #define CLOCK_PLL_DIV (12)
53 #ifndef CLOCK_SCLK_XTAL
54 #define CLOCK_SCLK_XTAL (0)
62 { .
dev = TC0, .id_ch0 = ID_TC0 },
63 { .dev = TC1, .id_ch0 = ID_TC3 }
66 #define TIMER_0_ISR isr_tc0
67 #define TIMER_1_ISR isr_tc3
69 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
77 #define RTT_FREQUENCY (1U)
95 .dev = (Uart *)USART0,
103 .dev = (Uart *)USART1,
111 .dev = (Uart *)USART3,
121 #define UART_0_ISR isr_uart
122 #define UART_1_ISR isr_usart0
123 #define UART_2_ISR isr_usart1
124 #define UART_3_ISR isr_usart3
126 #define UART_NUMOF ARRAY_SIZE(uart_config)
144 #define SPI_NUMOF ARRAY_SIZE(spi_config)
158 #define PWM_NUMOF (1U)
159 #define PWM_CHAN_NUMOF ARRAY_SIZE(pwm_chan)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
static const uart_conf_t uart_config[]
UART configuration.
static const spi_conf_t spi_config[]
SPI configuration.
static const timer_conf_t timer_config[]
All timers on board.
@ GPIO_MUX_A
select peripheral function A
@ GPIO_MUX_B
select peripheral function B
PWM channel configuration.
gpio_t pin
pin used for pwm
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
Timer device configuration.
TC0_t * dev
Pointer to the used as Timer device.
UART device configuration.
USART_t * dev
pointer to the used UART device