diff --git a/boards/nucleo-f446ze/include/periph_conf.h b/boards/nucleo-f446ze/include/periph_conf.h index a799c9676e..0946b5c172 100644 --- a/boards/nucleo-f446ze/include/periph_conf.h +++ b/boards/nucleo-f446ze/include/periph_conf.h @@ -197,6 +197,7 @@ static const adc_conf_t adc_config[] = { { .pin = GPIO_PIN(PORT_B, 0), .dev = 2, .chan = 9 }, /* ADC123_IN9 */ { .pin = GPIO_PIN(PORT_C, 1), .dev = 2, .chan = 15 }, /* ADC3_IN15 */ { .pin = GPIO_PIN(PORT_C, 0), .dev = 2, .chan = 8 }, /* ADC3_IN8 */ + { .pin = GPIO_UNDEF, .dev = 0, .chan = 18 }, /* VBAT */ }; /** @@ -204,6 +205,8 @@ static const adc_conf_t adc_config[] = { */ #define ADC_NUMOF ARRAY_SIZE(adc_config) +#define VBAT_ADC ADC_LINE(6) /**< VBAT ADC line */ + /** @} */ #ifdef __cplusplus