diff --git a/cpu/saml1x/include/periph_cpu.h b/cpu/saml1x/include/periph_cpu.h index 63fcb309e7..ec26e8444a 100644 --- a/cpu/saml1x/include/periph_cpu.h +++ b/cpu/saml1x/include/periph_cpu.h @@ -55,6 +55,17 @@ typedef enum { } adc_res_t; #endif /* ndef DOXYGEN */ +/** + * @brief Pins that can be used for ADC input + */ +static const gpio_t sam0_adc_pins[1][10] = { + { + GPIO_PIN(PA, 2), GPIO_PIN(PA, 3), GPIO_PIN(PA, 4), GPIO_PIN(PA, 5), + GPIO_PIN(PA, 6), GPIO_PIN(PA, 7), GPIO_PIN(PA, 8), GPIO_PIN(PA, 9), + GPIO_PIN(PA, 10), GPIO_PIN(PA, 11) + } +}; + /** * @brief The MCU has a 10 bit DAC */