20#include "periph_cpu.h" 
   33#define CLOCK_HF            cmuSelect_HFXO 
   36#define CLOCK_CORE_DIV      cmuClkDiv_1 
   39#define CLOCK_LFA           cmuSelect_LFXO 
   42#define CLOCK_LFB           cmuSelect_LFXO 
   60        .input = adcSingleInputTemp,
 
   61        .reference = adcRef1V25,
 
   62        .acq_time = adcAcqTime8
 
   66        .input = adcSingleInputVDDDiv3,
 
   67        .reference = adcRef1V25,
 
   68        .acq_time = adcAcqTime8
 
   72#define ADC_DEV_NUMOF       ARRAY_SIZE(adc_config) 
   73#define ADC_NUMOF           ARRAY_SIZE(adc_channel_config) 
   88static const dac_chan_conf_t dac_channel_config[] = {
 
   95#define DAC_DEV_NUMOF       ARRAY_SIZE(dac_config) 
   96#define DAC_NUMOF           ARRAY_SIZE(dac_channel_config) 
  108        .loc = I2C_ROUTE_LOCATION_LOC1,
 
  109        .cmu = cmuClock_I2C0,
 
  117        .loc = I2C_ROUTE_LOCATION_LOC0,
 
  118        .cmu = cmuClock_I2C1,
 
  124#define I2C_NUMOF           ARRAY_SIZE(i2c_config) 
  125#define I2C_0_ISR           isr_i2c0 
  126#define I2C_1_ISR           isr_i2c1 
  137        .loc = TIMER_ROUTE_LOCATION_LOC1
 
  144        .cmu = cmuClock_TIMER3,
 
  147        .channel = pwm_channel_config
 
  151#define PWM_DEV_NUMOF       ARRAY_SIZE(pwm_config) 
  152#define PWM_NUMOF           ARRAY_SIZE(pwm_channel_config) 
  160#define RTT_FREQUENCY       (1U)               
  174        .loc = USART_ROUTE_LOCATION_LOC1,
 
  175        .cmu = cmuClock_USART1,
 
  176        .irq = USART1_RX_IRQn
 
  183        .loc = USART_ROUTE_LOCATION_LOC0,
 
  184        .cmu = cmuClock_USART2,
 
  185        .irq = USART2_RX_IRQn
 
  189#define SPI_NUMOF           ARRAY_SIZE(spi_config) 
  202            .cmu = cmuClock_TIMER0
 
  206            .cmu = cmuClock_TIMER1
 
  214            .cmu = cmuClock_LETIMER0
 
  218            .cmu = cmuClock_LETIMER0
 
  220        .irq = LETIMER0_IRQn,
 
  225#define TIMER_NUMOF         ARRAY_SIZE(timer_config) 
  226#define TIMER_0_ISR         isr_timer1 
  227#define TIMER_1_ISR         isr_letimer0 
  239        .loc = UART_ROUTE_LOCATION_LOC1,
 
  240        .cmu = cmuClock_UART0,
 
  247        .loc = LEUART_ROUTE_LOCATION_LOC0,
 
  248        .cmu = cmuClock_LEUART0,
 
  253#define UART_NUMOF          ARRAY_SIZE(uart_config) 
  254#define UART_0_ISR_RX       isr_uart0_rx 
  255#define UART_1_ISR_RX       isr_leuart0 
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
 
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
 
#define UART0
UART0 register bank.
 
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.
 
Common configuration for EFM32 OTG FS peripheral.