<h3>Contribution description</h3>
<p>While working on a <a href="https://github.com/miri64/RIOT_playground/tree/master/wand">private project</a>, I noticed that the ADC line A7 for <a href="https://learn.adafruit.com/adafruit-feather-m0-basic-proto/power-management#measuring-battery-4-8" rel="nofollow">measuring the battery</a> isn't exposed via <code>periph/adc.h</code>. For reference it can also be found in adafruit's <a href="https://cdn-learn.adafruit.com/assets/assets/000/046/196/original/Feather_M0_Basic_Proto_v2.2.pdf?1504805559" rel="nofollow">pinout diagram</a>. Since I'm not aware of an ADC line 6, I'm not sure the current approach to define A6 as <code>{ .pin = GPIO_UNDEF, .muxpos = 0 }</code> is the correct approach.</p>

<h3>Testing procedure</h3>
<p>Connect a battery to the <code>feather-m0</code> and try to read its voltage from A7.</p>

<h3>Issues/PRs references</h3>
<p>None</p>


<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/10938'>https://github.com/RIOT-OS/RIOT/pull/10938</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>feather-m0: add BAT voltage ADC line (A7)</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/10938/files#diff-0">boards/feather-m0/include/periph_conf.h</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/10938.patch'>https://github.com/RIOT-OS/RIOT/pull/10938.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/10938.diff'>https://github.com/RIOT-OS/RIOT/pull/10938.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/10938">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YIV7kMtWkc0_HrYsLB8ZLe4dJdhUks5vJ_JUgaJpZM4agwVX">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YN_NXMY2TooEPkW93q1M_cjv1ByMks5vJ_JUgaJpZM4agwVX.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"feather-m0: add BAT voltage ADC line (A7) (#10938)"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/10938"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/10938",
"url": "https://github.com/RIOT-OS/RIOT/pull/10938",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>