21 #include "periph_cpu.h"
33 #define CLOCK_HF cmuSelect_HFXO
35 #ifndef CLOCK_CORE_DIV
36 #define CLOCK_CORE_DIV cmuClkDiv_1
39 #define CLOCK_LFA cmuSelect_LFRCO
42 #define CLOCK_LFB cmuSelect_LFRCO
45 #define CLOCK_LFE cmuSelect_LFRCO
63 .input = adcPosSelTEMP,
64 .reference = adcRef1V25,
65 .acq_time = adcAcqTime8
69 .input = adcPosSelAVDD,
70 .reference = adcRef5V,
71 .acq_time = adcAcqTime8
75 #define ADC_DEV_NUMOF ARRAY_SIZE(adc_config)
76 #define ADC_NUMOF ARRAY_SIZE(adc_channel_config)
84 #define RTT_FREQUENCY (1U)
98 .cmu = cmuClock_TIMER0
102 .cmu = cmuClock_TIMER1
110 .cmu = cmuClock_LETIMER0
114 .cmu = cmuClock_LETIMER0
116 .irq = LETIMER0_IRQn,
121 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
122 #define TIMER_0_ISR isr_timer1
123 #define TIMER_1_ISR isr_letimer0
135 .loc = USART_ROUTELOC0_RXLOC_LOC0 |
136 USART_ROUTELOC0_TXLOC_LOC0,
137 .cmu = cmuClock_USART0,
138 .irq = USART0_RX_IRQn
142 #define UART_NUMOF ARRAY_SIZE(uart_config)
143 #define UART_0_ISR_RX isr_usart0_rx
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
static const uart_conf_t uart_config[]
UART configuration.
static const timer_conf_t timer_config[]
All timers on board.
static const adc_conf_t adc_config[]
ADC configuration.
ADC channel configuration.
ADC device configuration.
ADC_TypeDef * dev
ADC device used.
Timer device configuration.
timer_dev_t prescaler
the lower neighboring timer (not initialized for LETIMER)
void * dev
TIMER_TypeDef or LETIMER_TypeDef device used.
UART device configuration.
USART_t * dev
pointer to the used UART device