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.
@ GPIO_MUX_A
select peripheral function A
@ GPIO_MUX_B
select peripheral function B
PWM channel configuration.
SPI device configuration.
Timer device configuration.
UART device configuration.