20#include "periph_cpu.h" 
   32#define CLOCK_HF            cmuSelect_HFXO 
   35#define CLOCK_CORE_DIV      cmuClkDiv_1 
   38#define CLOCK_LFA           cmuSelect_LFXO 
   41#define CLOCK_LFB           cmuSelect_LFXO 
   59        .input = adcSingleInputTemp,
 
   60        .reference = adcRef1V25,
 
   61        .acq_time = adcAcqTime8
 
   65        .input = adcSingleInputVDDDiv3,
 
   66        .reference = adcRef1V25,
 
   67        .acq_time = adcAcqTime8
 
   71#define ADC_DEV_NUMOF       ARRAY_SIZE(adc_config) 
   72#define ADC_NUMOF           ARRAY_SIZE(adc_channel_config) 
   87static const dac_chan_conf_t dac_channel_config[] = {
 
   94#define DAC_DEV_NUMOF       ARRAY_SIZE(dac_config) 
   95#define DAC_NUMOF           ARRAY_SIZE(dac_channel_config) 
  107        .loc = I2C_ROUTE_LOCATION_LOC2,
 
  108        .cmu = cmuClock_I2C1,
 
  114#define I2C_NUMOF           ARRAY_SIZE(i2c_config) 
  115#define I2C_0_ISR           isr_i2c1 
  126        .loc = TIMER_ROUTE_LOCATION_LOC2
 
  131        .loc = TIMER_ROUTE_LOCATION_LOC2
 
  138        .cmu = cmuClock_TIMER0,
 
  141        .channel = pwm_channel_config
 
  145#define PWM_DEV_NUMOF       ARRAY_SIZE(pwm_config) 
  146#define PWM_NUMOF           ARRAY_SIZE(pwm_channel_config) 
  154#define RTT_FREQUENCY       (1U)               
  168        .loc = USART_ROUTE_LOCATION_LOC1,
 
  169        .cmu = cmuClock_USART1,
 
  170        .irq = USART1_RX_IRQn
 
  174#define SPI_NUMOF           ARRAY_SIZE(spi_config) 
  187            .cmu = cmuClock_TIMER1
 
  191            .cmu = cmuClock_TIMER2
 
  199            .cmu = cmuClock_LETIMER0
 
  203            .cmu = cmuClock_LETIMER0
 
  205        .irq = LETIMER0_IRQn,
 
  210#define TIMER_NUMOF         ARRAY_SIZE(timer_config) 
  211#define TIMER_0_ISR         isr_timer2 
  212#define TIMER_1_ISR         isr_letimer0 
  224        .loc = USART_ROUTE_LOCATION_LOC1,
 
  225        .cmu = cmuClock_USART2,
 
  226        .irq = USART2_RX_IRQn
 
  232        .loc = LEUART_ROUTE_LOCATION_LOC0,
 
  233        .cmu = cmuClock_LEUART0,
 
  238#define UART_NUMOF          ARRAY_SIZE(uart_config) 
  239#define UART_0_ISR_RX       isr_usart2_rx 
  240#define UART_1_ISR_RX       isr_leuart0 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
ADC channel configuration.
 
ADC device configuration.
 
DAC line configuration data.
 
I2C configuration structure.
 
PWM channel configuration.
 
PWM device configuration.
 
SPI device configuration.
 
Timer device configuration.
 
UART device configuration.