1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/sodaq-explorer: adjust ADC channels

This commit is contained in:
Kees Bakker 2019-10-07 21:39:54 +02:00
parent d91f73ae3e
commit 67f82cdf6a

View File

@ -182,6 +182,9 @@ static const adc_conf_chan_t adc_channels[] = {
{GPIO_PIN(PA, 8), ADC_INPUTCTRL_MUXPOS_PIN16}, /* A4 */
{GPIO_PIN(PA, 9), ADC_INPUTCTRL_MUXPOS_PIN17}, /* A5 */
{GPIO_PIN(PA, 4), ADC_INPUTCTRL_MUXPOS_PIN4}, /* A6 (temperature) */
{GPIO_PIN(PA, 10), ADC_INPUTCTRL_MUXPOS_PIN18}, /* A7 */
{GPIO_PIN(PA, 11), ADC_INPUTCTRL_MUXPOS_PIN19}, /* A8 */
{GPIO_PIN(PB, 5), ADC_INPUTCTRL_MUXPOS_PIN13}, /* BATVOLT */
};
#define ADC_NUMOF ARRAY_SIZE(adc_channels)