24 #include "periph_cpu.h"
36 #define CLOCK_HF cmuSelect_HFXO
38 #ifndef CLOCK_CORE_DIV
39 #define CLOCK_CORE_DIV cmuClkDiv_1
42 #define CLOCK_LFA cmuSelect_LFXO
45 #define CLOCK_LFB cmuSelect_CORELEDIV2
63 .input = adcSingleInputTemp,
64 .reference = adcRef1V25,
65 .acq_time = adcAcqTime8
69 .input = adcSingleInputVDDDiv3,
70 .reference = adcRef1V25,
71 .acq_time = adcAcqTime8
75 #define ADC_DEV_NUMOF ARRAY_SIZE(adc_config)
76 #define ADC_NUMOF ARRAY_SIZE(adc_channel_config)
88 .loc = I2C_ROUTE_LOCATION_LOC6,
95 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
96 #define I2C_0_ISR isr_i2c0
103 #define RTT_MAX_VALUE (0xFFFFFF)
104 #define RTT_FREQUENCY (1U)
117 .loc = USART_ROUTE_LOCATION_LOC1,
118 .cmu = cmuClock_USART1,
119 .irq = USART1_RX_IRQn
123 #define SPI_NUMOF ARRAY_SIZE(spi_config)
136 .cmu = cmuClock_TIMER0
140 .cmu = cmuClock_TIMER1
147 #define TIMER_NUMOF ARRAY_SIZE(timer_config)
148 #define TIMER_0_ISR isr_timer1
160 .loc = LEUART_ROUTE_LOCATION_LOC0,
161 .cmu = cmuClock_LEUART0,
166 #define UART_NUMOF ARRAY_SIZE(uart_config)
167 #define UART_0_ISR_RX isr_leuart0