24 #include "periph_cpu.h"
35 #define CLOCK_CORECLOCK (84000000UL)
37 #define CLOCK_EXT_OSC (12000000UL)
43 #define CLOCK_PLL_MUL (83)
44 #define CLOCK_PLL_DIV (12)
56 #ifndef CLOCK_SCLK_XTAL
57 #define CLOCK_SCLK_XTAL (0)
65 { .
dev = TC0, .id_ch0 = ID_TC0 },
66 { .dev = TC1, .id_ch0 = ID_TC3 }
69 #define TIMER_0_ISR isr_tc0
70 #define TIMER_1_ISR isr_tc3
72 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
80 #define RTT_FREQUENCY (1U)
98 .dev = (Uart *)USART0,
106 .dev = (Uart *)USART1,
114 .dev = (Uart *)USART3,
124 #define UART_0_ISR isr_uart
125 #define UART_1_ISR isr_usart0
126 #define UART_2_ISR isr_usart1
127 #define UART_3_ISR isr_usart3
129 #define UART_NUMOF ARRAY_SIZE(uart_config)
147 #define SPI_NUMOF ARRAY_SIZE(spi_config)
161 #define PWM_NUMOF (1U)
162 #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